tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.psmt2-frontend: init at 0.1
Vincent Laporte
7 years ago
ec81355c
b13fe97f
+37
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
psmt2-frontend
default.nix
top-level
ocaml-packages.nix
+35
pkgs/development/ocaml-modules/psmt2-frontend/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
piqi = callPackage ../development/ocaml-modules/piqi { };
535
piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
536
0
0
537
psq = callPackage ../development/ocaml-modules/psq { };
538
539
ptime = callPackage ../development/ocaml-modules/ptime { };
···
534
piqi = callPackage ../development/ocaml-modules/piqi { };
535
piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
536
537
+
psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
538
+
539
psq = callPackage ../development/ocaml-modules/psq { };
540
541
ptime = callPackage ../development/ocaml-modules/ptime { };