new package: premake -- lua based build configuration tool

this is version 3, while 4 already exists.
But I only need this tool for 'aacskeys', which doesn't work with 4

svn path=/nixpkgs/trunk/; revision=32490
This commit is contained in:
Peter Simons 2012-02-22 20:29:42 +00:00
parent 51d9d68b51
commit 444b195a3d
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{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";
license = stdenv.lib.licenses.bsd;
};
}

View file

@ -3119,6 +3119,8 @@ let
*/
pkgconfig = forceBuildDrv (callPackage ../development/tools/misc/pkgconfig { });
premake = callPackage ../development/tools/misc/premake { };
radare = callPackage ../development/tools/analysis/radare {
inherit (gnome) vte;
lua = lua5;