73d2e4f49d
- Kernel headers 2.6.18 added (XEN virtual images) - unifdef package added for kernel headers 2.6.18 - Python Zope and 4suite added - Trying bioconductor packages with R-lang (still failing) - Bumped gmp version - Added rq cluster runner - still requires extra gems (installs, but does not run) svn path=/nixpkgs/trunk/; revision=12766
25 lines
498 B
Nix
25 lines
498 B
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "unifdef-1.0";
|
|
|
|
src = fetchurl {
|
|
url = http://freshmeat.net/redir/unifdef/10933/url_tgz/unifdef-1.0.tar.gz;
|
|
sha256 = "d14c30b1e2e9745e4b067ab86337c93ad907b4e9ee1c414d45291bf7f0c19dad";
|
|
};
|
|
|
|
buildPhase = ''
|
|
make unifdef
|
|
'';
|
|
|
|
installPhase = ''
|
|
ensureDir $out/bin
|
|
cp unifdef $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "useful for removing #ifdef'ed lines from a file while otherwise leaving the file alone";
|
|
|
|
};
|
|
}
|