forked from mirrors/nixpkgs
ocamlPackages.psmt2-frontend: init at 0.1
This commit is contained in:
parent
b13fe97f16
commit
ec81355c8d
35
pkgs/development/ocaml-modules/psmt2-frontend/default.nix
Normal file
35
pkgs/development/ocaml-modules/psmt2-frontend/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, ocaml, findlib, menhir }:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "psmt2-frontend is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.1";
|
||||
name = "ocaml${ocaml.version}-psmt2-frontend-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Coquera";
|
||||
repo = "psmt2-frontend";
|
||||
rev = version;
|
||||
sha256 = "0k7jlsbkdyg7hafmvynp0ik8xk7mfr00wz27vxn4ncnmp20yz4vn";
|
||||
};
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ ocaml findlib menhir ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
installFlags = "LIBDIR=$(OCAMLFIND_DESTDIR)";
|
||||
|
||||
meta = {
|
||||
description = "A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -534,6 +534,8 @@ let
|
|||
piqi = callPackage ../development/ocaml-modules/piqi { };
|
||||
piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
|
||||
|
||||
psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
|
||||
|
||||
psq = callPackage ../development/ocaml-modules/psq { };
|
||||
|
||||
ptime = callPackage ../development/ocaml-modules/ptime { };
|
||||
|
|
Loading…
Reference in a new issue