1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/text/replace/default.nix
2007-09-27 14:48:09 +00:00

21 lines
478 B
Nix

{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) ";
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
meta = {
description = "
Replace verbatim strings. Sed is not fit to do it. Replace is.
";
};
}