summary refs log tree commit diff
path: root/pkgs/tools/text/replace/default.nix
blob: 3135204ef032ec1d44fc53416fe958cbc8db9ca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{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.
";
  };
}