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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
805 B
Nix
Raw Normal View History

2022-01-07 19:09:33 +03:00
{ lib, stdenv, fetchFromGitHub, omake, ocaml, flex, bison }:
2015-02-21 10:41:37 +03:00
2022-01-07 19:09:33 +03:00
stdenv.mkDerivation rec {
2019-08-14 00:52:01 +03:00
pname = "teyjus";
2022-01-07 19:09:33 +03:00
version = "2.1";
2015-02-21 10:41:37 +03:00
2022-01-07 19:09:33 +03:00
src = fetchFromGitHub {
owner = "teyjus";
repo = "teyjus";
rev = "v${version}";
sha256 = "sha256-nz7jZ+GdF6mZQPzBrVD9K/RtoeuVRuhfs7vej4zDkhg=";
2015-02-21 10:41:37 +03:00
};
patches = [ ./fix-lex-to-flex.patch ];
buildInputs = [ omake ocaml flex bison ];
hardeningDisable = [ "format" ];
2016-02-25 05:20:27 +03:00
2015-02-21 10:41:37 +03:00
buildPhase = "omake all";
checkPhase = "omake check";
installPhase = "mkdir -p $out/bin && cp tj* $out/bin";
meta = with lib; {
2015-02-21 10:41:37 +03:00
description = "An efficient implementation of the Lambda Prolog language";
homepage = "https://github.com/teyjus/teyjus";
license = lib.licenses.gpl3;
2015-02-21 10:41:37 +03:00
maintainers = [ maintainers.bcdarwin ];
platforms = platforms.linux;
};
}