git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-why3: init at 0.86.2
commit76940c5e4cf73bd822e1879e8ac66b9f891813e4 authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 5 Dec 2015, 10:37 (11 years ago) parent408001d
2 files changed+25
pkgs/development/ocaml-modules/why3/default.nix+21 pkgs/top-level/all-packages.nix+4
pkgs/development/ocaml-modules/why3/default.nixnew file+21
@@ -0,0 +1,21 @@
1+{ stdenv, ocaml, findlib, zarith, menhir, why3 }:
2+
3+let ocaml-version = stdenv.lib.getVersion ocaml; in
4+
5+assert stdenv.lib.versionAtLeast ocaml-version "4.01";
6+
7+stdenv.mkDerivation {
8+ name = "ocaml-${why3.name}";
9+
10+ inherit (why3) src;
11+
12+ buildInputs = [ ocaml findlib zarith menhir ];
13+
14+ installTargets = "install-lib";
15+
16+ meta = {
17+ inherit (why3.meta) license homepage;
18+ platforms = ocaml.meta.platforms;
19+ maintainers = with stdenv.lib.maintainers; [ vbgl ];
20+ };
21+}
pkgs/top-level/all-packages.nix+4
@@ -4740,6 +4740,10 @@ let
47404740
47414741 vg = callPackage ../development/ocaml-modules/vg { };
47424742
4743+ why3 = callPackage ../development/ocaml-modules/why3 {
4744+ why3 = pkgs.why3;
4745+ };
4746+
47434747 x509 = callPackage ../development/ocaml-modules/x509 { };
47444748
47454749 xmlm = callPackage ../development/ocaml-modules/xmlm { };