@@ -0,0 +1,28 @@
1+{ stdenv, fetchurl, omake, ocaml, flex, bison }:
4+ name = "teyjus-2.0b2";
7+ url = "https://teyjus.googlecode.com/files/teyjus-source-2.0-b2.tar.gz";
8+ sha256 = "f589fb460d7095a6e674b7a6413772c41b98654c38602c3e8c477a976da99052";
11+ patches = [ ./fix-lex-to-flex.patch ];
13+ buildInputs = [ omake ocaml flex bison ];
15+ buildPhase = "omake all";
17+ checkPhase = "omake check";
19+ installPhase = "mkdir -p $out/bin && cp tj* $out/bin";
21+ meta = with stdenv.lib; {
22+ description = "An efficient implementation of the Lambda Prolog language";
23+ homepage = https://code.google.com/p/teyjus/;
24+ license = stdenv.lib.licenses.gpl3;
25+ maintainers = [ maintainers.bcdarwin ];
26+ platforms = platforms.linux;