From aa8bb63248da7d21dc7a6eec364f6c8962a0aadc Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 23 Jul 2015 19:32:21 +0200 Subject: [PATCH] ocaml-fileutils: 0.4.5 -> 0.5.0 --- .../ocaml-modules/fileutils/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/fileutils/default.nix b/pkgs/development/ocaml-modules/fileutils/default.nix index 2fbbabfd36b3..7a8a80a446c3 100644 --- a/pkgs/development/ocaml-modules/fileutils/default.nix +++ b/pkgs/development/ocaml-modules/fileutils/default.nix @@ -1,14 +1,18 @@ -{ stdenv, fetchurl, ocaml, findlib }: +{ stdenv, fetchurl, ocaml, findlib, ounit }: stdenv.mkDerivation { - name = "ocaml-fileutils-0.4.5"; + name = "ocaml-fileutils-0.5.0"; src = fetchurl { - url = https://forge.ocamlcore.org/frs/download.php/1194/ocaml-fileutils-0.4.5.tar.gz; - sha256 = "0rlqmcgjrfjihjgw5cfmack169cag8054gh5yrqph15av3lx5cra"; + url = https://forge.ocamlcore.org/frs/download.php/1531/ocaml-fileutils-0.5.0.tar.gz; + sha256 = "0xs96nlrrm335mcsgsxnqzspiqyfn26b0jjxm72br7c7ax534n47"; }; - buildInputs = [ ocaml findlib ]; + buildInputs = [ ocaml findlib ounit ]; + + configureFlags = "--enable-tests"; + doCheck = true; + checkTarget = "test"; createFindlibDestdir = true;