diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-21 11:02:55 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-21 11:02:55 +0100 |
commit | 857c13e1af1946841432a5f7b768e187c47ca0e3 (patch) | |
tree | 9e76803a7c12bf2590ad83e212c7491c3e475395 /pkgs/development/ocaml-modules/cmdliner | |
parent | d5f938d800d7627632e082d958ed48097ea313b1 (diff) |
Minor modifications of some ocaml packages:
adds myself as a maintainer
adds assertions to have evaluation errors rather than build errors
moves opam out of ocamlPackages, as it does not provide a library
Diffstat (limited to 'pkgs/development/ocaml-modules/cmdliner')
-rw-r--r-- | pkgs/development/ocaml-modules/cmdliner/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/cmdliner/default.nix b/pkgs/development/ocaml-modules/cmdliner/default.nix index 3a00f0c3888..2dfd7ba1286 100644 --- a/pkgs/development/ocaml-modules/cmdliner/default.nix +++ b/pkgs/development/ocaml-modules/cmdliner/default.nix @@ -5,6 +5,9 @@ let version = "0.9.5"; ocaml_version = (builtins.parseDrvName ocaml.name).version; in + +assert stdenv.lib.versionAtLeast ocaml_version "3.12"; + stdenv.mkDerivation { name = "ocaml-${pname}-${version}"; @@ -31,6 +34,7 @@ stdenv.mkDerivation { homepage = http://erratique.ch/software/cmdliner; description = "An OCaml module for the declarative definition of command line interfaces"; license = licenses.bsd3; + maintainers = [ maintainers.vbgl ]; platforms = ocaml.meta.platforms; }; } |