3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/build-managers/icmake/default.nix

40 lines
854 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gcc }:
2016-01-09 19:04:32 +00:00
stdenv.mkDerivation rec {
name = "icmake-${version}";
2016-11-06 01:18:46 +00:00
version = "9.02.02";
src = fetchFromGitHub {
2016-11-06 01:18:46 +00:00
sha256 = "0f7w3b8r2h6ckgzc6wbfbw5yyxia0f3j3acmzi1yzylj6ak05mmd";
rev = version;
repo = "icmake";
owner = "fbb-git";
};
sourceRoot = "icmake-${version}-src/icmake";
buildInputs = [ gcc ];
2016-01-09 19:04:32 +00:00
preConfigure = ''
patchShebangs ./
substituteInPlace INSTALL.im --replace "usr/" ""
'';
buildPhase = ''
2016-01-09 19:04:32 +00:00
./icm_prepare $out
./icm_bootstrap x
'';
installPhase = ''
./icm_install all /
'';
meta = with stdenv.lib; {
description = "A program maintenance (make) utility using a C-like grammar";
homepage = https://fbb-git.github.io/icmake/;
license = licenses.gpl3;
maintainers = with maintainers; [ nckx pSub ];
platforms = platforms.linux;
};
2015-01-21 12:19:43 +00:00
}