summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-12-15 22:02:15 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-12-15 22:02:15 +0100
commit23efd0e6179e9166c64d5bddc78e63d7117284bc (patch)
tree3996a0071c7ed149208532d0a6c0d2d585d23b79 /pkgs/development/ocaml-modules
parent4a00e1793b26046c4513198306e91018d2597011 (diff)
downloadnixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar.gz
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar.bz2
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar.lz
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar.xz
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.tar.zst
nixpkgs-23efd0e6179e9166c64d5bddc78e63d7117284bc.zip
ocaml-hex: 0.2.0 -> 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/hex/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/hex/default.nix b/pkgs/development/ocaml-modules/hex/default.nix
index 7a060bd795a..a9d30f1a9e7 100644
--- a/pkgs/development/ocaml-modules/hex/default.nix
+++ b/pkgs/development/ocaml-modules/hex/default.nix
@@ -1,17 +1,20 @@
 { stdenv, fetchzip, ocaml, findlib, cstruct }:
 
-let version = "0.2.0"; in
+let version = "1.0.0"; in
 
 stdenv.mkDerivation {
   name = "ocaml-hex-${version}";
 
   src = fetchzip {
     url = "https://github.com/mirage/ocaml-hex/archive/${version}.tar.gz";
-    sha256 = "13vmpxwg5vb2qvkdqz37rx1ya19r9cp4dwylx8jj15mn77hpy7xg";
+    sha256 = "0g4cq4bsksga15fa5ln083gkglawknbnhi2s4k8yk0yi5xngvwm4";
   };
 
   buildInputs = [ ocaml findlib ];
   propagatedBuildInputs = [ cstruct ];
+  configureFlags = "--enable-tests";
+  doCheck = true;
+  checkTarget = "test";
   createFindlibDestdir = true;
 
   meta = {