mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
bfbfe941ab
Lots of packages can use it. Here is the list: - jackmix - klick - mixx - nova-filters - rhvoice - giv - mypaint - swift-im - bombono - mapnik - serf - nuitka - pyexiv2 - godot - hammer - toluapp - btanks - dxx-rebirth - endless-sky - globulation - the-powder-toy - fceux - gpsd - mongodb - rippled - mariadb - lprof
32 lines
769 B
Nix
32 lines
769 B
Nix
{ stdenv, fetchFromGitHub, scons, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.93";
|
|
name = "toluapp-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LuaDist";
|
|
repo = "toluapp";
|
|
rev = "${version}";
|
|
sha256 = "0zd55bc8smmgk9j4cf0jpibb03lgsvl0knpwhplxbv93mcdnw7s0";
|
|
};
|
|
|
|
nativeBuildInputs = [ scons ];
|
|
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;
|
|
};
|
|
}
|