dunst: upgrade to git version to fix 100% CPU problems

This commit is contained in:
Domen Kožar 2013-08-07 14:08:05 +02:00
parent 61a1867c5d
commit 12cc79f844

View File

@ -1,15 +1,18 @@
{ stdenv, fetchurl, coreutils , unzip, which, pkgconfig , dbus { stdenv, fetchgit, coreutils , unzip, which, pkgconfig , dbus
, freetype, xdg_utils , libXext, glib, pango , cairo, libX11, libnotify , freetype, xdg_utils , libXext, glib, pango , cairo, libX11, libnotify
, libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl, gdk_pixbuf , libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl, gdk_pixbuf
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.0"; rev = "6a3a855b48a3db64821d1cf8a91c5ee2815a2b2d";
name = "dunst-${version}"; name = "dunst-${rev}";
src = fetchurl { # 1.0.0 release doesn't include 100% CPU fix
url = "https://github.com/knopwob/dunst/archive/v${version}.zip"; # https://github.com/knopwob/dunst/issues/98
sha256 = "1x6k6jrf219v8hmhqhnnfjycldvsnp7ag8a2y8adp5rhfmgyn671"; src = fetchgit {
inherit rev;
url = "https://github.com/knopwob/dunst.git";
sha256 = "0m7yki16d72xm9n2m2fjszd8phqpn5b95q894cz75pmd0sv1j6bj";
}; };
patchPhase = '' patchPhase = ''
@ -23,7 +26,7 @@ stdenv.mkDerivation rec {
libXScrnSaver xproto libXinerama perl]; libXScrnSaver xproto libXinerama perl];
buildPhase = '' buildPhase = ''
export VERSION=${version}; export VERSION=${rev};
export PREFIX=$out; export PREFIX=$out;
make dunst; make dunst;
''; '';