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/uutf | |
parent | d5f938d800d7627632e082d958ed48097ea313b1 (diff) | |
download | nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar.gz nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar.bz2 nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar.lz nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar.xz nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.tar.zst nixlib-857c13e1af1946841432a5f7b768e187c47ca0e3.zip |
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/uutf')
-rw-r--r-- | pkgs/development/ocaml-modules/uutf/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/uutf/default.nix b/pkgs/development/ocaml-modules/uutf/default.nix index 862236c169bc..26dc9742aeb4 100644 --- a/pkgs/development/ocaml-modules/uutf/default.nix +++ b/pkgs/development/ocaml-modules/uutf/default.nix @@ -5,6 +5,9 @@ let webpage = "http://erratique.ch/software/${pname}"; ocaml_version = (builtins.parseDrvName ocaml.name).version; in + +assert stdenv.lib.versionAtLeast ocaml_version "3.12"; + stdenv.mkDerivation rec { name = "ocaml-${pname}-${version}"; @@ -28,10 +31,11 @@ stdenv.mkDerivation rec { ln -s $out/lib/${pname} $out/lib/ocaml/${ocaml_version}/site-lib/ ''; - meta = { + meta = with stdenv.lib; { description = "Non-blocking streaming Unicode codec for OCaml"; homepage = "${webpage}"; platforms = ocaml.meta.platforms; - license = stdenv.lib.licenses.bsd3; + license = licenses.bsd3; + maintainers = [ maintainers.vbgl ]; }; } |