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