forked from mirrors/nixpkgs
ocaml-why3: init at 0.86.2
This commit is contained in:
parent
408001d33b
commit
76940c5e4c
21
pkgs/development/ocaml-modules/why3/default.nix
Normal file
21
pkgs/development/ocaml-modules/why3/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, ocaml, findlib, zarith, menhir, why3 }:
|
||||||
|
|
||||||
|
let ocaml-version = stdenv.lib.getVersion ocaml; in
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast ocaml-version "4.01";
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-${why3.name}";
|
||||||
|
|
||||||
|
inherit (why3) src;
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib zarith menhir ];
|
||||||
|
|
||||||
|
installTargets = "install-lib";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
inherit (why3.meta) license homepage;
|
||||||
|
platforms = ocaml.meta.platforms;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4740,6 +4740,10 @@ let
|
||||||
|
|
||||||
vg = callPackage ../development/ocaml-modules/vg { };
|
vg = callPackage ../development/ocaml-modules/vg { };
|
||||||
|
|
||||||
|
why3 = callPackage ../development/ocaml-modules/why3 {
|
||||||
|
why3 = pkgs.why3;
|
||||||
|
};
|
||||||
|
|
||||||
x509 = callPackage ../development/ocaml-modules/x509 { };
|
x509 = callPackage ../development/ocaml-modules/x509 { };
|
||||||
|
|
||||||
xmlm = callPackage ../development/ocaml-modules/xmlm { };
|
xmlm = callPackage ../development/ocaml-modules/xmlm { };
|
||||||
|
|
Loading…
Reference in a new issue