lol

ocamlPackages.psmt2-frontend: init at 0.1

+37
+35
pkgs/development/ocaml-modules/psmt2-frontend/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, ocaml, findlib, menhir }: 2 + 3 + if !stdenv.lib.versionAtLeast ocaml.version "4.03" 4 + then throw "psmt2-frontend is not available for OCaml ${ocaml.version}" 5 + else 6 + 7 + stdenv.mkDerivation rec { 8 + version = "0.1"; 9 + name = "ocaml${ocaml.version}-psmt2-frontend-${version}"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Coquera"; 13 + repo = "psmt2-frontend"; 14 + rev = version; 15 + sha256 = "0k7jlsbkdyg7hafmvynp0ik8xk7mfr00wz27vxn4ncnmp20yz4vn"; 16 + }; 17 + 18 + prefixKey = "-prefix "; 19 + 20 + nativeBuildInputs = [ autoreconfHook ]; 21 + buildInputs = [ ocaml findlib menhir ]; 22 + 23 + createFindlibDestdir = true; 24 + 25 + installFlags = "LIBDIR=$(OCAMLFIND_DESTDIR)"; 26 + 27 + meta = { 28 + description = "A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language"; 29 + license = stdenv.lib.licenses.asl20; 30 + maintainers = [ stdenv.lib.maintainers.vbgl ]; 31 + inherit (src.meta) homepage; 32 + inherit (ocaml.meta) platforms; 33 + }; 34 + 35 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 534 534 piqi = callPackage ../development/ocaml-modules/piqi { }; 535 535 piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { }; 536 536 537 + psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { }; 538 + 537 539 psq = callPackage ../development/ocaml-modules/psq { }; 538 540 539 541 ptime = callPackage ../development/ocaml-modules/ptime { };