summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/teyjus/default.nix
blob: 813a4d751bfcc12fdf0aed097dffe440ddd1957e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  stdenv,
  flex,
  bison,
}:

(buildDunePackage.override { inherit stdenv; }) (finalAttrs: {
  pname = "teyjus";
  version = "2.1.1";

  src = fetchFromGitHub {
    owner = "teyjus";
    repo = "teyjus";
    tag = "v${finalAttrs.version}";
    hash = "sha256-N4XKDd0NFr501PYUdb7PM2sWh0uD1/SUFXoMr10f064=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    flex
    bison
  ];

  hardeningDisable = [ "format" ];

  doCheck = true;

  meta = {
    description = "Efficient implementation of the Lambda Prolog language";
    homepage = "https://github.com/teyjus/teyjus";
    changelog = "https://github.com/teyjus/teyjus/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.gpl3;
    maintainers = [ lib.maintainers.bcdarwin ];
    platforms = lib.platforms.unix;
  };
})