nixpkgs/pkgs/development/tools/build-managers/icmake/default.nix

40 lines
856 B
Nix
Raw Normal View History

2016-01-09 22:04:32 +03:00
{ stdenv, fetchFromGitHub, gcc5 }:
2016-01-09 22:04:32 +03:00
stdenv.mkDerivation rec {
name = "icmake-${version}";
2016-01-09 22:04:32 +03:00
version = "8.00.05";
src = fetchFromGitHub {
2016-01-09 22:04:32 +03:00
sha256 = "06bfz9awi2vh2mzikw4sp7wqrp0nlcg89b9br43awz2801k15hpf";
rev = version;
repo = "icmake";
owner = "fbb-git";
};
sourceRoot = "icmake-${version}-src/icmake";
2016-01-09 22:04:32 +03:00
buildInputs = [ gcc5 ];
preConfigure = ''
patchShebangs ./
substituteInPlace INSTALL.im --replace "usr/" ""
'';
buildPhase = ''
2016-01-09 22:04:32 +03: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 15:19:43 +03:00
}