dzen2: new package

"Dzen is a general purpose messaging, notification and menuing program for X11. It was designed to be fast, tiny and scriptable in any language." -- https://github.com/robm/dzen

authored by David Virgilio and committed by moritz.vongoewels.de 84b09e26 010273bf

+38
+36
pkgs/applications/window-managers/dzen2/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "dzen2-0.9.5"; 5 + 6 + buildInputs = [ pkgconfig libX11 libXft libXinerama libXpm ]; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/robm/dzen/tarball/master/dzen2-0.9.5git.tar.gz"; 10 + sha256 = "d4f7943cd39dc23fd825eb684b49dc3484860fa8443d30b06ee38af72a53b556"; 11 + }; 12 + 13 + patchPhase = '' 14 + CFLAGS=" -Wall -Os ''${INCS} -DVERSION=\"''${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`" 15 + LIBS=" -L/usr/lib -lc -lXft -lXpm -lXinerama -lX11" 16 + echo "CFLAGS=$CFLAGS" >>config.mk 17 + echo "LIBS=$LIBS" >>config.mk 18 + echo "LDFLAGS=$LIBS" >>config.mk 19 + substituteInPlace config.mk --replace /usr/local "$out" 20 + substituteInPlace gadgets/config.mk --replace /usr/local "$out" 21 + ''; 22 + 23 + buildPhase = '' 24 + mkdir -p $out/bin $out/man/man1 25 + make clean install 26 + cd gadgets 27 + make clean install 28 + ''; 29 + 30 + meta = { 31 + homepage = https://github.com/robm/dzen; 32 + license = stdenv.lib.licenses.mit; 33 + description = "X notification utility"; 34 + platforms = stdenv.lib.platforms.linux; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 7709 patches = config.dwm.patches or []; 7710 }; 7711 7712 eaglemode = callPackage ../applications/misc/eaglemode { }; 7713 7714 eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse { });
··· 7709 patches = config.dwm.patches or []; 7710 }; 7711 7712 + dzen2 = callPackage ../applications/window-managers/dzen2 { }; 7713 + 7714 eaglemode = callPackage ../applications/misc/eaglemode { }; 7715 7716 eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse { });