Added replace. Maybe abandon sed for substituteAll ?
svn path=/nixpkgs/trunk/; revision=8987
This commit is contained in:
parent
6251d4390c
commit
656cd8bf80
18
pkgs/tools/text/replace/default.nix
Normal file
18
pkgs/tools/text/replace/default.nix
Normal 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.
|
||||
";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user