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
32
pkgs/development/tools/toluapp/default.nix
Normal file
32
pkgs/development/tools/toluapp/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, sconsPackages, lua }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.93";
|
||||
pname = "toluapp";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LuaDist";
|
||||
repo = "toluapp";
|
||||
rev = version;
|
||||
sha256 = "0zd55bc8smmgk9j4cf0jpibb03lgsvl0knpwhplxbv93mcdnw7s0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ sconsPackages.scons_3_0_1 ];
|
||||
buildInputs = [ lua ];
|
||||
|
||||
patches = [ ./environ-and-linux-is-kinda-posix.patch ./headers.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace config_posix.py \
|
||||
--replace /usr/local $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to integrate C/Cpp code with Lua";
|
||||
homepage = "http://www.codenix.com/~tolua/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
mainProgram = "tolua++";
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue