1 { lib, stdenv, fetchurl, unzip }:
3 stdenv.mkDerivation rec {
6 nativeBuildInputs = [ unzip ];
9 url = "http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
10 sha256 = "sha256-gzR96GSZJNV+bei3OPqlx7aw+WBv8XRpHGh8u+go6N4=";
13 cd angelscript/projects/gnuc
14 sed -i makefile -e "s@LOCAL = .*@LOCAL = $out@"
16 export VERSION="${version}"
17 mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include"
23 mkdir -p "$out/share/docs/angelscript"
24 cp -r ../../../docs/* "$out/share/docs/angelscript"
27 description = "Light-weight scripting library";
28 license = licenses.zlib;
29 maintainers = with maintainers; [ raskin ];
30 platforms = platforms.linux;
31 badPlatforms = [ "aarch64-linux" ];
32 downloadPage = "http://www.angelcode.com/angelscript/downloads.html";
33 homepage = "http://www.angelcode.com/angelscript/";