mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
0aed07bca2
We added manpage upstream 🎉 https://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/libnotify-0.7.9.news
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{ stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, libxslt
|
|
, docbook-xsl-ns
|
|
, glib
|
|
, gdk-pixbuf
|
|
, gobject-introspection
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libnotify";
|
|
version = "0.7.9";
|
|
|
|
outputs = [ "out" "man" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "ZsBRftFt968ljoMgj6r1Bpcn39ZplcS7xRwWlU1nR2E=";
|
|
};
|
|
|
|
mesonFlags = [
|
|
# disable tests as we don't need to depend on GTK (2/3)
|
|
"-Dtests=false"
|
|
"-Ddocbook_docs=disabled"
|
|
"-Dgtk_doc=false"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
libxslt
|
|
docbook-xsl-ns
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
gdk-pixbuf
|
|
glib
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://developer.gnome.org/notification-spec/;
|
|
description = "A library that sends desktop notifications to a notification daemon";
|
|
platforms = platforms.unix;
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|