diff options
| author | Ricardo M. Correia <rcorreia@wizy.org> | 2021-06-02 22:32:14 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-06-05 23:43:33 +0000 |
| commit | 8912beda2d49a0af270a696e0527980b04234a20 (patch) | |
| tree | 9711b2d7d8b0a0c2847797b765725a7276efc7bc | |
| parent | Merge pull request #125340 from NixOS/backport-125282-to-release-21.05 (diff) | |
| download | nixpkgs-8912beda2d49a0af270a696e0527980b04234a20.tar.gz | |
replace: fix URL and hash
The old URL wasn't available anymore.
There is a minor version change but it's only an unimportant change to
the Makefile and some changes to the documentation.
(cherry picked from commit 908569cf06beed517f5f0f3038ab044aae2e5d76)
| -rw-r--r-- | pkgs/tools/text/replace/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/text/replace/default.nix b/pkgs/tools/text/replace/default.nix index 117fb737aa06..a0873d1c8d2b 100644 --- a/pkgs/tools/text/replace/default.nix +++ b/pkgs/tools/text/replace/default.nix @@ -1,11 +1,12 @@ { lib, stdenv, fetchurl }: -stdenv.mkDerivation { - name = "replace-2.24"; +stdenv.mkDerivation rec { + pname = "replace"; + version = "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"; + url = "http://hpux.connect.org.uk/ftp/hpux/Users/replace-${version}/replace-${version}-src-11.31.tar.gz"; + sha256 = "18hkwhaz25s6209n5mpx9hmkyznlzygqj488p2l7nvp9zrlxb9sf"; }; outputs = [ "out" "man" ]; |
