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.
This commit is contained in:
Ricardo M. Correia 2021-06-02 22:32:14 +02:00
parent 4bcb22e17a
commit 908569cf06

View file

@ -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" ];