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

38 lines
825 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2015-10-28 16:27:04 +00:00
let version = "7.23.02"; in
stdenv.mkDerivation {
name = "icmake-${version}";
src = fetchFromGitHub {
2015-10-28 16:27:04 +00:00
sha256 = "0gp2f8bw9i7vccsbz878mri0k6fls2x8hklbbr6mayag397gr928";
rev = version;
repo = "icmake";
owner = "fbb-git";
};
sourceRoot = "icmake-${version}-src/icmake";
preConfigure = ''
patchShebangs ./
substituteInPlace INSTALL.im --replace "usr/" ""
'';
buildPhase = ''
./icm_bootstrap $out
'';
installPhase = ''
./icm_install all /
'';
meta = with stdenv.lib; {
inherit version;
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
}