Merge pull request #23726 from sternenseemann/master

redo-sh: init at 1.2.6
This commit is contained in:
Michael Raskin 2017-03-18 19:19:51 +01:00 committed by GitHub
commit 24f35daa60
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ 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
wrapProgram "$p" --set PATH '$PATH:'"$out/bin"
done
'';
meta = with stdenv.lib; {
description = "Redo implementation in Bourne Shell";
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ sternenseemann ];
};
}

View file

@ -6767,6 +6767,8 @@ with pkgs;
redo = callPackage ../development/tools/build-managers/redo { };
redo-sh = callPackage ../development/tools/build-managers/redo-sh { };
reno = callPackage ../development/tools/reno { };
re2c = callPackage ../development/tools/parsing/re2c { };