wmii-hg: init at 2012-12-09

authored by Kovacsics Robert (NixOS-SSD2) and committed by Rok Garbas c0b710fc b02921d4

+47
+45
pkgs/applications/window-managers/wmii-hg/default.nix
··· 1 + { stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python 2 + , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }: 3 + 4 + stdenv.mkDerivation rec { 5 + rev = "2823"; 6 + version = "hg-2012-12-09"; 7 + name = "wmii-${version}"; 8 + 9 + src = fetchhg { 10 + url = https://code.google.com/p/wmii/; 11 + sha256 = "1wqw41jb2fhq902a04ixfzmx0lia1pawahm1ymyrs3is6mm32r51"; 12 + inherit rev; 13 + }; 14 + 15 + # for dlopen-ing 16 + patchPhase = '' 17 + substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "${libXft}/lib/libXft.so" 18 + ''; 19 + 20 + configurePhase = '' 21 + for file in $(grep -lr '#!.*sh'); do 22 + sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file 23 + done 24 + 25 + cat <<EOF >> config.mk 26 + PREFIX = $out 27 + LIBIXP = ${libixp_hg}/lib/libixp.a 28 + BINSH = ${dash}/bin/dash 29 + EOF 30 + ''; 31 + 32 + buildInputs = [ pkgconfig libixp_hg txt2tags dash python 33 + libX11 libXrender libXext libXinerama libXrandr libXft ]; 34 + 35 + # For some reason including mercurial in buildInputs did not help 36 + makeFlags = "WMII_HGVERSION=hg${rev}"; 37 + 38 + meta = { 39 + homepage = "https://code.google.com/p/wmii/"; 40 + description = "A small window manager controlled by a 9P filesystem"; 41 + maintainers = with stdenv.lib.maintainers; [ kovirobi ]; 42 + license = stdenv.lib.licenses.mit; 43 + inherit version; 44 + }; 45 + }
+2
pkgs/top-level/all-packages.nix
··· 13322 13322 includeUnpack = config.stdenv.includeUnpack or false; 13323 13323 }; 13324 13324 13325 + wmii_hg = callPackage ../applications/window-managers/wmii-hg { }; 13326 + 13325 13327 wordnet = callPackage ../applications/misc/wordnet { }; 13326 13328 13327 13329 workrave = callPackage ../applications/misc/workrave {