depot/third_party/nixpkgs/pkgs/development/tools/build-managers/redo-sh/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
793 B
Nix

{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation {
version = "2.0.3";
pname = "redo-sh";
src = fetchurl {
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
sha256 = "1ycx3hik7vnlbwxacn1dzr48fwsn2ials0sg6k9l3gcyrha5wf1n";
};
buildInputs = [ makeWrapper ];
sourceRoot = ".";
installPhase = ''
mkdir -p "$out/share"
mv man "$out/share"
mv bin "$out"
for p in $out/bin/*; do
wrapProgram "$p" --suffix 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 ];
};
}