aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/biniou
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-09-21 11:02:55 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-09-21 11:02:55 +0100
commit857c13e1af1946841432a5f7b768e187c47ca0e3 (patch)
tree9e76803a7c12bf2590ad83e212c7491c3e475395 /pkgs/development/ocaml-modules/biniou
parentd5f938d800d7627632e082d958ed48097ea313b1 (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/biniou')
-rw-r--r--pkgs/development/ocaml-modules/biniou/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/biniou/default.nix b/pkgs/development/ocaml-modules/biniou/default.nix
index 59f30de5e841..565176276f98 100644
--- a/pkgs/development/ocaml-modules/biniou/default.nix
+++ b/pkgs/development/ocaml-modules/biniou/default.nix
@@ -4,6 +4,9 @@ let
version = "1.0.9";
webpage = "http://mjambon.com/${pname}.html";
in
+
+assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.11";
+
stdenv.mkDerivation rec {
name = "${pname}-${version}";
@@ -23,10 +26,11 @@ stdenv.mkDerivation rec {
mkdir $out/bin
'';
- meta = {
+ meta = with stdenv.lib; {
description = "A binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
homepage = "${webpage}";
- license = stdenv.lib.licenses.bsd3;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms;
};
}