Merge pull request #202795 from dotlambda/toluapp-cmake

This commit is contained in:
Sandro
2022-11-25 20:40:12 +01:00
committed by GitHub
+2 -7
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, sconsPackages, lua }:
{ lib, stdenv, fetchFromGitHub, cmake, lua }:
stdenv.mkDerivation rec {
version = "1.0.93";
@@ -11,16 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "0zd55bc8smmgk9j4cf0jpibb03lgsvl0knpwhplxbv93mcdnw7s0";
};
nativeBuildInputs = [ sconsPackages.scons_3_0_1 ];
nativeBuildInputs = [ cmake ];
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/";