mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
e1d9854816
A few packages broke due to the SCons upgrade (they depended on deprecated options that got removed), I've kept them on version 3.0.1 for now. The rest of the rebuilds seems fine (the failing ones where already in a broken state before this change).
32 lines
797 B
Nix
32 lines
797 B
Nix
{ stdenv, fetchFromGitHub, sconsPackages, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.93";
|
|
name = "toluapp-${version}";
|
|
|
|
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 ];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace config_posix.py \
|
|
--replace /usr/local $out
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A tool to integrate C/Cpp code with Lua";
|
|
homepage = http://www.codenix.com/~tolua/;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ vrthra ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|