premake: bump to version 4.3
aacskeys depends on premake3, so keep that version around.
This commit is contained in:
parent
62d7abf42a
commit
38c7d196ac
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, openssl, jdk, premake}:
|
{stdenv, fetchurl, openssl, jdk, premake3}:
|
||||||
|
|
||||||
# Info on how to use / obtain aacs keys:
|
# Info on how to use / obtain aacs keys:
|
||||||
# http://vlc-bluray.whoknowsmy.name/
|
# http://vlc-bluray.whoknowsmy.name/
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0d3zvwixpkixfkkc16wj37h2xbcq5hsqqhqngzqr6pslmqr67vnr";
|
sha256 = "0d3zvwixpkixfkkc16wj37h2xbcq5hsqqhqngzqr6pslmqr67vnr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [openssl jdk premake];
|
buildInputs = [openssl jdk premake3];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out/{bin,lib,share/${baseName}}
|
ensureDir $out/{bin,lib,share/${baseName}}
|
||||||
|
26
pkgs/development/tools/misc/premake/3.nix
Normal file
26
pkgs/development/tools/misc/premake/3.nix
Normal 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.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -1,21 +1,25 @@
|
|||||||
{stdenv, fetchurl, unzip}:
|
{stdenv, fetchurl, unzip}:
|
||||||
|
|
||||||
let baseName = "premake";
|
let baseName = "premake";
|
||||||
version = "3.7";
|
version = "4.3";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.sourceforge.net/sourceforge/premake/${baseName}-src-${version}.zip";
|
url = "mirror://sourceforge/${baseName}/${baseName}-${version}-src.zip";
|
||||||
sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5";
|
sha256 = "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [unzip];
|
buildInputs = [unzip];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make -C build/gmake.unix/
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 bin/premake $out/bin/premake
|
install -Dm755 bin/release/premake4 $out/bin/premake4
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -3304,7 +3304,11 @@ let
|
|||||||
pkgconfig = forceNativeDrv (callPackage ../development/tools/misc/pkgconfig { });
|
pkgconfig = forceNativeDrv (callPackage ../development/tools/misc/pkgconfig { });
|
||||||
pkgconfigUpstream = lowPrio (pkgconfig.override { vanilla = true; });
|
pkgconfigUpstream = lowPrio (pkgconfig.override { vanilla = true; });
|
||||||
|
|
||||||
premake = callPackage ../development/tools/misc/premake { };
|
premake3 = callPackage ../development/tools/misc/premake/3.nix { };
|
||||||
|
|
||||||
|
premake4 = callPackage ../development/tools/misc/premake { };
|
||||||
|
|
||||||
|
premake = premake4;
|
||||||
|
|
||||||
pstack = callPackage ../development/tools/misc/gdb/pstack.nix { };
|
pstack = callPackage ../development/tools/misc/gdb/pstack.nix { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user