Skip to content

Commit 4a56eff

Browse files
redo-sh: 2.0.3 → 4.0.3
Additional changes: * Change platforms from linux to unix. redo-sh should run as long as stdenv.shell is a bourne shell. * Explicitly pass coreutils as a dependency so it can be overriden to use, say busybox.
1 parent 00bf6ab commit 4a56eff

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • pkgs/development/tools/build-managers/redo-sh
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
{ stdenv, fetchurl, makeWrapper }:
1+
{ stdenv, fetchurl, makeWrapper, coreutils }:
22

33
stdenv.mkDerivation {
4-
version = "2.0.3";
4+
version = "4.0.3";
55
pname = "redo-sh";
66

77
src = fetchurl {
88
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
9-
sha256 = "1ycx3hik7vnlbwxacn1dzr48fwsn2ials0sg6k9l3gcyrha5wf1n";
9+
sha256 = "1n84ld4fihqa7a6kn3f177dknz89qcvissfwz1m21bwdq950avia";
1010
};
1111

1212
buildInputs = [ makeWrapper ];
@@ -17,15 +17,15 @@ stdenv.mkDerivation {
1717
mv man "$out/share"
1818
mv bin "$out"
1919
for p in $out/bin/*; do
20-
wrapProgram "$p" --suffix PATH : "$out/bin"
20+
wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin"
2121
done
2222
'';
2323

2424
meta = with stdenv.lib; {
2525
description = "Redo implementation in Bourne Shell";
2626
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
2727
license = licenses.agpl3;
28-
platforms = platforms.linux;
28+
platforms = platforms.unix;
2929
maintainers = with maintainers; [ sternenseemann ];
3030
};
3131
}

0 commit comments

Comments
 (0)