dunst: upgrade, set maintainers, set default config file
This commit is contained in:
parent
278b255388
commit
6c56602e55
|
@ -1,19 +1,24 @@
|
||||||
{ stdenv, fetchurl, coreutils , unzip, which, pkgconfig , dbus
|
{ stdenv, fetchurl, coreutils , unzip, which, pkgconfig , dbus
|
||||||
, freetype, xdg_utils , libXext, glib, pango , cairo, libX11
|
, freetype, xdg_utils , libXext, glib, pango , cairo, libX11, libnotify
|
||||||
, libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl
|
, libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl, gdk_pixbuf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dunst-0.5.0";
|
version = "1.0.0";
|
||||||
version = "0.5.0";
|
name = "dunst-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/knopwob/dunst/archive/v0.5.0.zip";
|
url = "https://github.com/knopwob/dunst/archive/v${version}.zip";
|
||||||
sha256 = "08myzhpb1afffcfk3mpmc7gs9305x853b0553fxf3lkgksmg70a6";
|
sha256 = "1x6k6jrf219v8hmhqhnnfjycldvsnp7ag8a2y8adp5rhfmgyn671";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace "settings.c" \
|
||||||
|
--replace "xdgConfigOpen(\"dunst/dunstrc\", \"r\", &xdg" "fopen(\"$out/share/dunst/dunstrc\", \"r\""
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ coreutils unzip which pkgconfig dbus freetype
|
[ coreutils unzip which pkgconfig dbus freetype libnotify gdk_pixbuf
|
||||||
xdg_utils libXext glib pango cairo libX11 libxdg_basedir
|
xdg_utils libXext glib pango cairo libX11 libxdg_basedir
|
||||||
libXScrnSaver xproto libXinerama perl];
|
libXScrnSaver xproto libXinerama perl];
|
||||||
|
|
||||||
|
@ -29,5 +34,6 @@ stdenv.mkDerivation rec {
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
|
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue