Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
928 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, stdenv, fetchurl, unzip, cmake,}:
stdenv.mkDerivation rec { pname = "angelscript"; version = "2.37.0";
src = fetchurl { url = "https://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip"; sha256 = "sha256-DFLRaIAWoLJITpylSUccTild8GB3DFeEAUTGSBX1TxA="; };
nativeBuildInputs = [ unzip cmake ];
preConfigure = '' export ROOT=$PWD cd angelscript/projects/cmake '';
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
postInstall = '' mkdir -p "$out/share/docs/angelscript" cp -r $ROOT/docs/* "$out/share/docs/angelscript" '';
meta = with lib; { description = "Light-weight scripting library"; license = licenses.zlib; maintainers = with maintainers; [ raskin ]; platforms = platforms.all; downloadPage = "https://www.angelcode.com/angelscript/downloads.html"; homepage = "https://www.angelcode.com/angelscript/"; };}