summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/psmt2-frontend/default.nix
blob: 1d8408db5cf0a5e17db64a9eb222a912f810172e (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
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  menhir,
}:

buildDunePackage (finalAttrs: {
  version = "0.4.0";
  pname = "psmt2-frontend";

  src = fetchFromGitHub {
    owner = "ACoquereau";
    repo = "psmt2-frontend";
    rev = finalAttrs.version;
    hash = "sha256-cYY9x7QZjH7pdJyHMqfMXgHZ3/zJLp/6ntY6OSIo6Vs=";
  };

  minimalOCamlVersion = "4.03";

  nativeBuildInputs = [ menhir ];

  meta = {
    description = "Simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.vbgl ];
    inherit (finalAttrs.src.meta) homepage;
  };

})