lol
1{stdenv, fetchurl, unzip}:
2
3let baseName = "premake";
4 version = "3.7";
5in
6
7stdenv.mkDerivation {
8 name = "${baseName}-${version}";
9
10 src = fetchurl {
11 url = "http://downloads.sourceforge.net/sourceforge/premake/${baseName}-src-${version}.zip";
12 sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5";
13 };
14
15 buildInputs = [unzip];
16
17 installPhase = ''
18 install -Dm755 bin/premake $out/bin/premake
19 '';
20
21 meta = {
22 homepage = http://industriousone.com/premake;
23 description = "A simple build configuration and project generation tool using lua";
24 license = stdenv.lib.licenses.bsd3;
25 };
26}