Merge pull request #98034 from sternenseemann/redo-sh-4.0.3

redo-sh: 2.0.3 → 4.0.3
This commit is contained in:
Ryan Mulligan 2020-09-15 06:21:10 -07:00 committed by GitHub
commit 2b3a955f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper }:
{ stdenv, fetchurl, makeWrapper, coreutils }:
stdenv.mkDerivation {
version = "2.0.3";
version = "4.0.3";
pname = "redo-sh";
src = fetchurl {
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
sha256 = "1ycx3hik7vnlbwxacn1dzr48fwsn2ials0sg6k9l3gcyrha5wf1n";
sha256 = "1n84ld4fihqa7a6kn3f177dknz89qcvissfwz1m21bwdq950avia";
};
buildInputs = [ makeWrapper ];
@ -17,7 +17,7 @@ stdenv.mkDerivation {
mv man "$out/share"
mv bin "$out"
for p in $out/bin/*; do
wrapProgram "$p" --suffix PATH : "$out/bin"
wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin"
done
'';
@ -25,7 +25,7 @@ stdenv.mkDerivation {
description = "Redo implementation in Bourne Shell";
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
license = licenses.agpl3;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ sternenseemann ];
};
}