2012-02-22 21:29:42 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
let baseName = "premake";
|
|
|
|
version = "3.7";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.sourceforge.net/sourceforge/premake/${baseName}-src-${version}.zip";
|
|
|
|
sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [unzip];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 bin/premake $out/bin/premake
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://industriousone.com/premake;
|
|
|
|
description = "A simple build configuration and project generation tool using lua";
|
2012-02-22 22:14:53 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2012-02-22 21:29:42 +01:00
|
|
|
};
|
|
|
|
}
|