From df40533f11507a714b707548afb6845c937726d0 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Wed, 25 May 2016 11:43:47 -0700 Subject: [PATCH] redo: Init at 1.2 Redo is an alternative for Make. This package is a C++ implementation of redo. --- .../tools/build-managers/redo/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/build-managers/redo/default.nix diff --git a/pkgs/development/tools/build-managers/redo/default.nix b/pkgs/development/tools/build-managers/redo/default.nix new file mode 100644 index 000000000000..5a502a1fb79f --- /dev/null +++ b/pkgs/development/tools/build-managers/redo/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, perl }: + +stdenv.mkDerivation rec { + name = "redo-1.2"; + src = fetchurl { + url = "http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/${name}.tar.bz2"; + sha256 = "0hfbiljmgl821a0sf7abrfx29f22ahrgs86mrlrm8m95s7387kpp"; + }; + + nativeBuildInputs = [ perl /* for pod2man */ ]; + + sourceRoot = "."; + + buildPhase = '' + ./package/compile + ''; + installPhase = '' + ./package/export $out/ + ''; + + meta = { + homepage = http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/redo.html; + description = "A system for building target files from source files"; + license = stdenv.lib.licenses.bsd2; + maintainers = [ stdenv.lib.maintainers.vrthra ]; + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 302c806413cf..3d7ad181ead7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6373,6 +6373,8 @@ in ruby = ruby_2_0; }; + redo = callPackage ../development/tools/build-managers/redo { }; + re2c = callPackage ../development/tools/parsing/re2c { }; remake = callPackage ../development/tools/build-managers/remake { };