about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sawja
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/sawja
parentd5f938d800d7627632e082d958ed48097ea313b1 (diff)
downloadnixlib-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/sawja')
-rw-r--r--pkgs/development/ocaml-modules/sawja/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/sawja/default.nix b/pkgs/development/ocaml-modules/sawja/default.nix
index ef3ab9a46b93..a464f93f65c6 100644
--- a/pkgs/development/ocaml-modules/sawja/default.nix
+++ b/pkgs/development/ocaml-modules/sawja/default.nix
@@ -1,4 +1,7 @@
 {stdenv, fetchurl, which, perl, ocaml, findlib, javalib }:
+
+assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
+
 let
   pname = "sawja";
   version = "1.5";
@@ -26,10 +29,11 @@ stdenv.mkDerivation rec {
 
   propagatedBuildInputs = [ javalib ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A library written in OCaml, relying on Javalib to provide a high level representation of Java bytecode programs";
     homepage = "${webpage}";
-    license = stdenv.lib.licenses.gpl3Plus;
+    license = licenses.gpl3Plus;
+    maintainers = [ maintainers.vbgl ];
     platforms = ocaml.meta.platforms;
   };
 }