diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/biniou/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/biniou/default.nix | 8 |
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 59f30de5e84..565176276f9 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; }; } |