Added replace. Maybe abandon sed for substituteAll ?

svn path=/nixpkgs/trunk/; revision=8987
This commit is contained in:
Michael Raskin 2007-07-15 11:59:33 +00:00
parent 6251d4390c
commit 656cd8bf80
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "replace-2.24";
src = fetchurl {
url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz;
sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm";
};
buildInputs = [];
makeFlags = " TREE=\$(out) ";
meta = {
description = "
Replace verbatim strings. Sed is not fit to do it. Replace is.
";
};
}

View File

@ -520,6 +520,10 @@ rec {
zlibSupport = !stdenv ? isDietLibC;
};
replace = import ../tools/text/replace {
inherit fetchurl stdenv;
};
rpm = import ../tools/package-management/rpm {
inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils;
};