3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/toluapp/default.nix

34 lines
674 B
Nix
Raw Normal View History

2015-03-24 18:53:10 +00:00
{ stdenv, fetchFromGitHub, scons, lua }:
stdenv.mkDerivation rec {
version = "1.0.92";
name = "toluapp-${version}";
src = fetchFromGitHub {
owner = "eddieringle";
repo = "toluapp";
rev = "b1e680dc486c17128a3c21f89db1693ff06c02b1";
sha256 = "1d1a9bll9825dg4mz71vwykvfd3s5zi2yvzbfsvlr3qz1l3zqfwb";
};
buildInputs = [ lua scons ];
patches = [ ./environ-and-linux-is-kinda-posix.patch ];
preConfigure = ''
substituteInPlace config_posix.py \
--replace /usr/local $out
'';
NIX_CFLAGS_COMPILE = "-fPIC";
buildPhase = ''scons'';
installPhase = ''scons install'';
meta = {
2015-05-30 14:14:10 +01:00
license = stdenv.lib.licenses.mit;
2015-03-24 18:53:10 +00:00
};
}