mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
088a6817db
dnsmasq, uisp, fltk libixp_for_wmii, acerhk kernel module, reiserfsprogs, radeontools, msmtp, procmail, pstree, gxemul changed: umlutilities to also support building tunctl optionally (needing kernel header files) wmii updated and wmiimenu added svn path=/nixpkgs/trunk/; revision=9242
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
args: with args; stdenv.mkDerivation {
|
|
name = "wmiimenu-3.1";
|
|
|
|
src = fetchurl {
|
|
url = http://suckless.org/download/wmii-3.1.tar.gz;
|
|
sha256 = "0sviwxbanpsfdm55zvx9hflncw35slkz41xr517y3yfgxx6qlhlk";
|
|
};
|
|
|
|
buildInputs = [ libX11 libixp ];
|
|
inherit libixp;
|
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = "
|
|
export CFLAGS=\$NIX_CFLAGS_COMPILE
|
|
export LDFLAGS\=$(echo \$NIX_LDFLAGS | sed -e 's/-rpath/-L/g')
|
|
sed -i -e \"s%^PREFIX.*%PREFIX=\$out%\" \\
|
|
-e \"s%^\\(INCS.*\\)%\\1 \$NIX_CFLAGS_COMPILE%\" \\
|
|
-e \"s%^\\(LIBS.*\\)%\\1 \$LDFLAGS%\" \\
|
|
config.mk
|
|
# don't use the default one installed by nixos!
|
|
# sed -i -e \"s%ixpc%\$libixp/bin/ixpc%\" wmiir
|
|
|
|
# This will fail but wmiimenu has been built (hack!)
|
|
set +e
|
|
make &> /dev/null
|
|
set -e
|
|
ensureDir \$out/bin
|
|
cp cmd/wmiimenu \$out/bin
|
|
";
|
|
meta = { homepage = "www.suckless.org";
|
|
description = "one small tool of the wmii window manger to let the user select an item from a list by filtering..";
|
|
license="MIT";
|
|
};
|
|
}
|