about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/hex
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-03-22 14:10:51 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-03-23 17:04:29 +0100
commitcc766b2e44f90e1fb6338d82832e6de80a04ae50 (patch)
tree260feeaeae2bc352677b4b3e7f9c7c0ecf91abaa /pkgs/development/ocaml-modules/hex
parenta29c4b0bf543f64a87688732c66c24f49412ed8c (diff)
ocamlPackages.hex: 1.4.0 → 1.5.0
Diffstat (limited to 'pkgs/development/ocaml-modules/hex')
-rw-r--r--pkgs/development/ocaml-modules/hex/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/hex/default.nix b/pkgs/development/ocaml-modules/hex/default.nix
index 4a6123ebd3a66..42c1b5d5c13b2 100644
--- a/pkgs/development/ocaml-modules/hex/default.nix
+++ b/pkgs/development/ocaml-modules/hex/default.nix
@@ -1,19 +1,18 @@
-{ lib, fetchurl, buildDunePackage, bigarray-compat, cstruct }:
+{ lib, fetchurl, buildDunePackage, cstruct }:
 
 buildDunePackage rec {
   pname = "hex";
-  version = "1.4.0";
+  version = "1.5.0";
 
-  useDune2 = true;
-
-  minimumOCamlVersion = "4.02";
+  duneVersion = "3";
+  minimalOCamlVersion = "4.08";
 
   src = fetchurl {
-    url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-v${version}.tbz";
-    sha256 = "07b9y0lmnflsslkrm6xilkj40n8sf2hjqkyqghnk7sw5l0plkqsp";
+    url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
+    hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw=";
   };
 
-  propagatedBuildInputs = [ bigarray-compat cstruct ];
+  propagatedBuildInputs = [ cstruct ];
   doCheck = true;
 
   meta = {