- Some Ruby interpreter bumped version
- 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
This commit is contained in:
24
pkgs/development/tools/misc/unifdef/default.nix
Normal file
24
pkgs/development/tools/misc/unifdef/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ 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";
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user