mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
28 lines
673 B
Nix
28 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;
|
|
};
|
|
}
|