From f3bf3a4318295f92a62b7aaf739ec6e9bb5a5517 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 10 Mar 2017 21:50:05 +0100 Subject: [PATCH] redo-sh: init at 1.2.6 --- .../tools/build-managers/redo-sh/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/tools/build-managers/redo-sh/default.nix diff --git a/pkgs/development/tools/build-managers/redo-sh/default.nix b/pkgs/development/tools/build-managers/redo-sh/default.nix new file mode 100644 index 000000000000..95a49dc167aa --- /dev/null +++ b/pkgs/development/tools/build-managers/redo-sh/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 197b2970b463..f69652bcf11c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6657,6 +6657,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 { };