forked from mirrors/nixpkgs
Merge pull request #398 from the-kenny/dunst
dunst, a lightweight notification daemon
This commit is contained in:
commit
f7ddf2fc4a
33
pkgs/applications/misc/dunst/default.nix
Normal file
33
pkgs/applications/misc/dunst/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchurl, coreutils , unzip, which, pkgconfig , dbus
|
||||
, freetype, xdg_utils , libXext, glib, pango , cairo, libX11
|
||||
, libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dunst-0.5.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/knopwob/dunst/archive/v0.5.0.zip";
|
||||
sha256 = "08myzhpb1afffcfk3mpmc7gs9305x853b0553fxf3lkgksmg70a6";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ coreutils unzip which pkgconfig dbus freetype
|
||||
xdg_utils libXext glib pango cairo libX11 libxdg_basedir
|
||||
libXScrnSaver xproto libXinerama perl];
|
||||
|
||||
buildPhase = ''
|
||||
export VERSION=${version};
|
||||
export PREFIX=$out;
|
||||
make dunst;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "lightweight and customizable notification daemon";
|
||||
homepage = http://www.knopwob.org/dunst/;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -6779,6 +6779,8 @@ let
|
|||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
dunst = callPackage ../applications/misc/dunst { };
|
||||
|
||||
dvb_apps = callPackage ../applications/video/dvb-apps { };
|
||||
|
||||
dvdauthor = callPackage ../applications/video/dvdauthor { };
|
||||
|
|
Loading…
Reference in a new issue