about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sha
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-12-08 07:20:52 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2022-12-15 08:08:35 +0100
commitb28b8118f2b528f236133ffef79d0ad693f320a2 (patch)
treefb4115abd8e5cab68fac8bcbac96c171787a6bcf /pkgs/development/ocaml-modules/sha
parent062b7f42fdbb383f7d228d9b5444a720fba1d3ec (diff)
ocamlPackages.sha: 1.15.1 → 1.15.2
Diffstat (limited to 'pkgs/development/ocaml-modules/sha')
-rw-r--r--pkgs/development/ocaml-modules/sha/default.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/sha/default.nix b/pkgs/development/ocaml-modules/sha/default.nix
index 4cbb658b6549c..4d400d32844a5 100644
--- a/pkgs/development/ocaml-modules/sha/default.nix
+++ b/pkgs/development/ocaml-modules/sha/default.nix
@@ -1,25 +1,22 @@
-{ lib, fetchurl, buildDunePackage, stdlib-shims, dune-configurator, ounit }:
+{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit2 }:
 
 buildDunePackage rec {
   pname = "sha";
-  version = "1.15.1";
+  version = "1.15.2";
+  duneVersion = "3";
 
   src = fetchurl {
-    url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
-    sha256 = "sha256-cRtjydvwgXgimi6F3C48j7LrWgfMO6m9UJKjKlxvp0Q=";
+    url = "https://github.com/djs55/ocaml-${pname}/releases/download/${version}/${pname}-${version}.tbz";
+    hash = "sha256-P71Xs5p8QAaOtBrh7MuhQJOL6144BqTLvXlZOyGD/7c=";
   };
 
-  useDune2 = true;
-
-  buildInputs = [ dune-configurator ];
-
   propagatedBuildInputs = [
     stdlib-shims
   ];
 
   doCheck = true;
   checkInputs = [
-    ounit
+    ounit2
   ];
 
   meta = with lib; {