aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/fileutils
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-07-23 19:32:21 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-07-23 19:32:21 +0200
commitaa8bb63248da7d21dc7a6eec364f6c8962a0aadc (patch)
tree32e28a4103e14cd0af76f21fd1fb5fc2dbebdb1f /pkgs/development/ocaml-modules/fileutils
parentab4291249896e8996e4ae523f5e33a6da2f6e4b3 (diff)
ocaml-fileutils: 0.4.5 -> 0.5.0
Diffstat (limited to 'pkgs/development/ocaml-modules/fileutils')
-rw-r--r--pkgs/development/ocaml-modules/fileutils/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/fileutils/default.nix b/pkgs/development/ocaml-modules/fileutils/default.nix
index 2fbbabfd36b..7a8a80a446c 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;