diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-12-15 22:02:15 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-12-15 22:02:15 +0100 |
commit | 23efd0e6179e9166c64d5bddc78e63d7117284bc (patch) | |
tree | 3996a0071c7ed149208532d0a6c0d2d585d23b79 /pkgs/development/ocaml-modules/hex/default.nix | |
parent | 4a00e1793b26046c4513198306e91018d2597011 (diff) |
ocaml-hex: 0.2.0 -> 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/hex/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/hex/default.nix | 7 |
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 7a060bd795a04..a9d30f1a9e7e9 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 = { |