1 {lib, stdenv, fetchurl, unzip}:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/sourceforge/premake/premake-src-${version}.zip";
9 sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5";
12 nativeBuildInputs = [ unzip ];
15 install -Dm755 bin/premake $out/bin/premake
18 premake_cmd = "premake";
19 setupHook = ./setup-hook.sh;
22 homepage = "https://premake.github.io/";
23 description = "A simple build configuration and project generation tool using lua";
24 mainProgram = "premake";
25 license = lib.licenses.bsd3;
26 platforms = lib.platforms.unix;