From 27d2eef21a7b3c85c7da4843f46a26dc59d572b3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 12 Nov 2017 08:28:24 +0000 Subject: [PATCH] ocamlPackages.gen: 0.4.0.1 -> 0.5 --- pkgs/development/ocaml-modules/gen/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/gen/default.nix b/pkgs/development/ocaml-modules/gen/default.nix index d9a1fb4770f8..348f0cf2170b 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 = {