nixpkgs/pkgs/development/compilers/teyjus/default.nix

31 lines
776 B
Nix
Raw Normal View History

2016-12-02 19:35:11 +00:00
{ stdenv, fetchzip, omake, ocaml, flex, bison }:
2015-02-21 07:41:37 +00:00
stdenv.mkDerivation {
2016-12-02 19:35:11 +00:00
name = "teyjus-2.1";
2015-02-21 07:41:37 +00:00
2016-12-02 19:35:11 +00:00
src = fetchzip {
url = https://github.com/teyjus/teyjus/archive/v2.1.tar.gz;
sha256 = "064jqf68zpmvndgyhilmxfhnvx1bzm8avhgw82csj5wxw5ky6glz";
2015-02-21 07:41:37 +00:00
};
patches = [ ./fix-lex-to-flex.patch ];
buildInputs = [ omake ocaml flex bison ];
hardeningDisable = [ "format" ];
2016-02-25 02:20:27 +00:00
2015-02-21 07:41:37 +00:00
buildPhase = "omake all";
checkPhase = "omake check";
installPhase = "mkdir -p $out/bin && cp tj* $out/bin";
meta = with stdenv.lib; {
description = "An efficient implementation of the Lambda Prolog language";
homepage = https://code.google.com/p/teyjus/;
license = stdenv.lib.licenses.gpl3;
maintainers = [ maintainers.bcdarwin ];
platforms = platforms.linux;
};
}