2021-02-24 18:30:23 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, menhir }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
buildDunePackage rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.4.0";
|
2021-02-24 18:30:23 +00:00
|
|
|
pname = "psmt2-frontend";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-24 18:30:23 +00:00
|
|
|
owner = "ACoquereau";
|
|
|
|
repo = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-cYY9x7QZjH7pdJyHMqfMXgHZ3/zJLp/6ntY6OSIo6Vs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
minimumOCamlVersion = "4.03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ menhir ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|