nixpkgs/pkgs/applications/misc/notify-osd/default.nix

33 lines
955 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, libwnck3, libnotify, dbus-glib, makeWrapper, gsettings-desktop-schemas }:
2014-09-24 00:53:30 +04:00
stdenv.mkDerivation rec {
pname = "notify-osd";
2014-09-24 00:53:30 +04:00
version = "0.9.34";
src = fetchurl {
url = "https://launchpad.net/notify-osd/precise/${version}/+download/notify-osd-${version}.tar.gz";
sha256 = "0g5a7a680b05x27apz0y1ldl5csxpp152wqi42s107jymbp0s20j";
};
nativeBuildInputs = [ pkgconfig ];
2014-09-24 00:53:30 +04:00
buildInputs = [
glib libwnck3 libnotify dbus-glib makeWrapper
gsettings-desktop-schemas
2014-09-24 00:53:30 +04:00
];
2018-07-26 00:44:21 +03:00
configureFlags = [ "--libexecdir=$(out)/bin" ];
2014-09-24 00:53:30 +04:00
preFixup = ''
wrapProgram "$out/bin/notify-osd" \
2014-09-24 01:45:56 +04:00
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
2014-09-24 00:53:30 +04:00
'';
meta = with stdenv.lib; {
description = "Daemon that displays passive pop-up notifications";
homepage = "https://launchpad.net/notify-osd";
2014-09-24 00:53:30 +04:00
license = licenses.gpl3;
maintainers = [ maintainers.bodil ];
platforms = platforms.linux;
};
}