mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 12:02:47 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
33 lines
953 B
Nix
33 lines
953 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, libwnck3, libnotify, dbus-glib, makeWrapper, gsettings-desktop-schemas }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "notify-osd";
|
|
version = "0.9.34";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/notify-osd/precise/${version}/+download/notify-osd-${version}.tar.gz";
|
|
sha256 = "0g5a7a680b05x27apz0y1ldl5csxpp152wqi42s107jymbp0s20j";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
glib libwnck3 libnotify dbus-glib makeWrapper
|
|
gsettings-desktop-schemas
|
|
];
|
|
|
|
configureFlags = [ "--libexecdir=$(out)/bin" ];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/notify-osd" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|