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.
This commit is contained in:
parent
00bf6abad1
commit
4a56effdfb
1 changed files with 5 additions and 5 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue