3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/teyjus/default.nix

35 lines
818 B
Nix
Raw Normal View History

{ stdenv, fetchurl, omake, ocaml, flex, bison }:
2015-02-21 07:41:37 +00:00
let
version = "2.1";
in
2015-02-21 07:41:37 +00:00
stdenv.mkDerivation {
name = "teyjus-${version}";
2015-02-21 07:41:37 +00:00
src = fetchurl {
url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz";
sha256 = "0393wpg8v1vvarqy2xh4fdmrwlrl6jaj960kql7cq79mb9p3m269";
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://github.com/teyjus/teyjus;
2015-02-21 07:41:37 +00:00
license = stdenv.lib.licenses.gpl3;
maintainers = [ maintainers.bcdarwin ];
platforms = platforms.linux;
};
}