From 38022c9938f347b9f85ff33d55e72dcf5df0a291 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Thu, 13 Nov 2014 17:44:54 +0100 Subject: [PATCH] add icmake, a program maintenance utility --- .../tools/build-managers/icmake/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/build-managers/icmake/default.nix diff --git a/pkgs/development/tools/build-managers/icmake/default.nix b/pkgs/development/tools/build-managers/icmake/default.nix new file mode 100644 index 000000000000..a32ea9a3adda --- /dev/null +++ b/pkgs/development/tools/build-managers/icmake/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "icmake-${version}"; + version = "7.21.01"; + + src = fetchurl { + url = "mirror://sourceforge/icmake/icmake_${version}.orig.tar.gz"; + sha256 = "0jx547bb0h1z5f3v9kvjiq5bgarbrcs1h47y1nnwdkg0q1mqma1h"; + }; + + preConfigure = '' + patchShebangs ./ + sed -i "s;usr/;;g" INSTALL.im + ''; + + buildPhase = "./icm_bootstrap $out"; + + installPhase = "./icm_install all /"; + + meta = with stdenv.lib; { + description = "A program maintenance (make) utility using a C-like grammar"; + homepage = http://icmake.sourceforge.net/; + license = licenses.gpl3; + maintainers = with maintainers; [ pSub ]; + platforms = platforms.linux; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 415e7cc5891a..36daad1e7ec0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4554,6 +4554,8 @@ let ibus = callPackage ../development/libraries/ibus { }; + icmake = callPackage ../development/tools/build-managers/icmake { }; + iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils { inherit (perlPackages) XMLSimple; };