nixpkgs/pkgs/development/tools/misc/premake/default.nix
Bjørn Forsman 38c7d196ac premake: bump to version 4.3
aacskeys depends on premake3, so keep that version around.
2013-04-08 21:06:54 +02:00

31 lines
669 B
Nix

{stdenv, fetchurl, unzip}:
let baseName = "premake";
version = "4.3";
in
stdenv.mkDerivation {
name = "${baseName}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${baseName}/${baseName}-${version}-src.zip";
sha256 = "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn";
};
buildInputs = [unzip];
buildPhase = ''
make -C build/gmake.unix/
'';
installPhase = ''
install -Dm755 bin/release/premake4 $out/bin/premake4
'';
meta = {
homepage = http://industriousone.com/premake;
description = "A simple build configuration and project generation tool using lua";
license = stdenv.lib.licenses.bsd3;
};
}