2020-09-15 09:03:50 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, coreutils }:
|
2017-03-10 20:50:05 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2020-09-15 09:03:50 +01:00
|
|
|
version = "4.0.3";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "redo-sh";
|
2017-03-10 20:50:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
|
2020-09-15 09:03:50 +01:00
|
|
|
sha256 = "1n84ld4fihqa7a6kn3f177dknz89qcvissfwz1m21bwdq950avia";
|
2017-03-10 20:50:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share"
|
|
|
|
mv man "$out/share"
|
|
|
|
mv bin "$out"
|
|
|
|
for p in $out/bin/*; do
|
2020-09-15 09:03:50 +01:00
|
|
|
wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin"
|
2017-03-10 20:50:05 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Redo implementation in Bourne Shell";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
|
2017-03-10 20:50:05 +00:00
|
|
|
license = licenses.agpl3;
|
2020-09-15 09:03:50 +01:00
|
|
|
platforms = platforms.unix;
|
2017-03-10 20:50:05 +00:00
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|