depot/third_party/nixpkgs/pkgs/development/tools/toluapp/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

27 lines
673 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, lua }:
stdenv.mkDerivation rec {
version = "1.0.93";
pname = "toluapp";
src = fetchFromGitHub {
owner = "LuaDist";
repo = "toluapp";
rev = version;
sha256 = "0zd55bc8smmgk9j4cf0jpibb03lgsvl0knpwhplxbv93mcdnw7s0";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ lua ];
patches = [ ./environ-and-linux-is-kinda-posix.patch ./headers.patch ];
meta = with lib; {
description = "Tool to integrate C/Cpp code with Lua";
homepage = "http://www.codenix.com/~tolua/";
license = licenses.mit;
maintainers = [ ];
mainProgram = "tolua++";
platforms = with platforms; unix;
};
}