mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
4332e697df
Note, the version in the source of this release is still 2.0-b2 https://github.com/teyjus/teyjus/issues/117 tracks asking upstream to release versions with new version numbers.
35 lines
818 B
Nix
35 lines
818 B
Nix
{ stdenv, fetchurl, omake, ocaml, flex, bison }:
|
|
|
|
let
|
|
version = "2.1";
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "teyjus-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz";
|
|
sha256 = "0393wpg8v1vvarqy2xh4fdmrwlrl6jaj960kql7cq79mb9p3m269";
|
|
};
|
|
|
|
patches = [ ./fix-lex-to-flex.patch ];
|
|
|
|
buildInputs = [ omake ocaml flex bison ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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;
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|