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