1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/tools/build-managers/icmake/default.nix

43 lines
862 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gcc }:
2016-01-09 19:04:32 +00:00
stdenv.mkDerivation rec {
name = "icmake-${version}";
2018-02-11 11:02:27 +00:00
version = "9.02.06";
src = fetchFromGitHub {
2018-02-11 11:02:27 +00:00
sha256 = "1hs7fhqpkhlrjvjhfarf5bmxl8dw3r0immzdib27gwh3sfzgpx0b";
rev = version;
repo = "icmake";
owner = "fbb-git";
};
setSourceRoot = ''
sourceRoot=$(echo */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; [ pSub ];
platforms = platforms.linux;
};
2015-01-21 12:19:43 +00:00
}