nixpkgs/pkgs/applications/misc/dunst/default.nix

38 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch
2017-07-15 12:54:18 +00:00
, pkgconfig, which, perl, gtk2, xrandr
, cairo, dbus, gdk_pixbuf, glib, libX11, libXScrnSaver
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
}:
stdenv.mkDerivation rec {
name = "dunst-${version}";
2017-07-15 12:54:18 +00:00
version = "1.2.0";
src = fetchFromGitHub {
2017-07-15 12:54:18 +00:00
owner = "dunst-project";
repo = "dunst";
rev = "v${version}";
2017-07-15 12:54:18 +00:00
sha256 = "0jncnb4z4hg92ws08bkf52jswsd4vqlzyznwbynhh2jh6q0sl18b";
};
nativeBuildInputs = [ perl pkgconfig which ];
buildInputs = [
2017-07-15 12:54:18 +00:00
cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
libXinerama libnotify libxdg_basedir pango xproto librsvg gtk2 xrandr
];
outputs = [ "out" "man" ];
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
meta = with stdenv.lib; {
description = "Lightweight and customizable notification daemon";
homepage = http://www.knopwob.org/dunst/;
license = licenses.bsd3;
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
platforms = platforms.linux;
maintainers = [ maintainers.domenkozar ];
};
}