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

33 lines
953 B
Nix
Raw Normal View History

2021-06-23 20:22:04 +02:00
{ lib, stdenv, fetchurl, pkg-config, glib, libwnck, libnotify, dbus-glib, makeWrapper, gsettings-desktop-schemas }:
2014-09-23 22:53:30 +02:00
stdenv.mkDerivation rec {
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";
};
nativeBuildInputs = [ pkg-config ];
2014-09-23 22:53:30 +02:00
buildInputs = [
2021-06-23 20:22:04 +02:00
glib libwnck libnotify dbus-glib makeWrapper
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 lib; {
2014-09-23 22:53:30 +02:00
description = "Daemon that displays passive pop-up notifications";
homepage = "https://launchpad.net/notify-osd";
2014-09-23 22:53:30 +02:00
license = licenses.gpl3;
maintainers = [ maintainers.bodil ];
platforms = platforms.linux;
};
}