2017-03-10 20:50:05 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.2.6";
|
|
|
|
name = "redo-sh-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
|
|
|
|
sha256 = "1cwrk4v22rb9410rzyb4py4ncg01n6850l80s74bk3sflbw974wp";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share"
|
|
|
|
mv man "$out/share"
|
|
|
|
mv bin "$out"
|
|
|
|
for p in $out/bin/*; do
|
2017-11-19 23:50:49 +00:00
|
|
|
wrapProgram "$p" --suffix PATH : "$out/bin"
|
2017-03-10 20:50:05 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Redo implementation in Bourne Shell";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://news.dieweltistgarnichtso.net/bin/redo-sh.html;
|
2017-03-10 20:50:05 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|