summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/gen
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-11-12 08:28:24 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-11-12 09:10:01 +0000
commit27d2eef21a7b3c85c7da4843f46a26dc59d572b3 (patch)
tree41ef50844f7097c241c29fdc5790ff204005503d /pkgs/development/ocaml-modules/gen
parent88389f43f703cb02f162b4a639f92e738cefb48b (diff)
downloadnixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar.gz
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar.bz2
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar.lz
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar.xz
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.tar.zst
nixpkgs-27d2eef21a7b3c85c7da4843f46a26dc59d572b3.zip
ocamlPackages.gen: 0.4.0.1 -> 0.5
Diffstat (limited to 'pkgs/development/ocaml-modules/gen')
-rw-r--r--pkgs/development/ocaml-modules/gen/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/gen/default.nix b/pkgs/development/ocaml-modules/gen/default.nix
index d9a1fb4770f..348f0cf2170 100644
--- a/pkgs/development/ocaml-modules/gen/default.nix
+++ b/pkgs/development/ocaml-modules/gen/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, ounit }:
 
-let version = "0.4.0.1"; in
+let version = "0.5"; in
 
 stdenv.mkDerivation {
   name = "ocaml${ocaml.version}-gen-${version}";
@@ -9,11 +9,18 @@ stdenv.mkDerivation {
     owner = "c-cube";
     repo = "gen";
     rev = "${version}";
-    sha256 = "0gg94f5l899rni3r7s7wq8plgazmbsaw498xckp25kkgpmkk61ml";
+    sha256 = "14b8vg914nb0yp1hgxzm29bg692m0gqncjj43b599s98s1cwl92h";
   };
 
   buildInputs = [ ocaml findlib ocamlbuild qtest ounit ];
 
+  configureFlags = [
+    "--enable-tests"
+  ];
+
+  doCheck = true;
+  checkTarget = "test";
+
   createFindlibDestdir = true;
 
   meta = {