2016-12-18 09:25:24 +00:00
|
|
|
{ stdenv, fetchurl, omake, ocaml, flex, bison }:
|
2015-02-21 07:41:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-03-09 22:23:54 +00:00
|
|
|
name = "teyjus-2.1";
|
2015-02-21 07:41:37 +00:00
|
|
|
|
2016-12-18 09:25:24 +00:00
|
|
|
src = fetchurl {
|
2017-10-27 00:44:19 +01:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/teyjus/teyjus-source-2.0-b2.tar.gz";
|
2018-03-09 22:23:54 +00:00
|
|
|
sha256 = "0llhm5nrfyj7ihz2qq1q9ijrh6y4f8vl39mpfkkad5bh1m3gp2gm";
|
2015-02-21 07:41:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fix-lex-to-flex.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ omake ocaml flex bison ];
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
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";
|
2017-10-27 00:44:19 +01:00
|
|
|
homepage = https://github.com/teyjus/teyjus;
|
2015-02-21 07:41:37 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|