uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/development/interpreters/angelscript/default.nix
Normal file
39
pkgs/development/interpreters/angelscript/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, unzip
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "angelscript";
|
||||
version = "2.35.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
|
||||
sha256 = "12x12fs2bjkbh73n2w84wnqhg6xn6mnp6g79gbkwfl6gssv9c42w";
|
||||
};
|
||||
|
||||
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/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue