nixpkgs/pkgs/development/tools/build-managers/redo-sh/default.nix

32 lines
824 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, makeWrapper, coreutils }:
2017-03-10 21:50:05 +01:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
2021-01-18 16:39:44 +01:00
version = "4.0.4";
pname = "redo-sh";
2017-03-10 21:50:05 +01:00
src = fetchurl {
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
2021-01-18 16:39:44 +01:00
sha256 = "0d3hz3vy5qmjr9r4f8a5cx9hikpzs8h8f0fsl3dpbialf4wck24g";
2017-03-10 21:50:05 +01:00
};
nativeBuildInputs = [ makeWrapper ];
2017-03-10 21:50:05 +01:00
sourceRoot = ".";
installPhase = ''
mkdir -p "$out/share"
mv man "$out/share"
mv bin "$out"
for p in $out/bin/*; do
wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin"
2017-03-10 21:50:05 +01:00
done
'';
meta = with lib; {
2017-03-10 21:50:05 +01:00
description = "Redo implementation in Bourne Shell";
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
2017-03-10 21:50:05 +01:00
license = licenses.agpl3;
platforms = platforms.unix;
2017-03-10 21:50:05 +01:00
maintainers = with maintainers; [ sternenseemann ];
};
}