uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
71
pkgs/development/libraries/libnotify/default.nix
Normal file
71
pkgs/development/libraries/libnotify/default.nix
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, libxslt
|
||||
, docbook-xsl-ns
|
||||
, glib
|
||||
, gdk-pixbuf
|
||||
, gnome
|
||||
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
|
||||
, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libnotify";
|
||||
version = "0.7.12";
|
||||
|
||||
outputs = [ "out" "man" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "dEsrN1CBNfgmG3Vanevm4JrdQhrcdb3pMPbhmLcKtG4=";
|
||||
};
|
||||
|
||||
mesonFlags = [
|
||||
# disable tests as we don't need to depend on GTK (2/3)
|
||||
"-Dtests=false"
|
||||
"-Ddocbook_docs=disabled"
|
||||
"-Dgtk_doc=false"
|
||||
"-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
libxslt
|
||||
docbook-xsl-ns
|
||||
glib # for glib-mkenums needed during the build
|
||||
] ++ lib.optionals withIntrospection [
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals withIntrospection [
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gdk-pixbuf
|
||||
glib
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
versionPolicy = "none";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library that sends desktop notifications to a notification daemon";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libnotify";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = teams.gnome.members;
|
||||
mainProgram = "notify-send";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue