about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sha
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-06-06 07:50:06 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-06-13 15:58:38 +0200
commitea67c657ccc81c84d380522dec694852d8684e0f (patch)
tree32fa6c575e0f2ddb22aa339fb753934c319c7f7b /pkgs/development/ocaml-modules/sha
parenta3e6044fa663ab77b3a34dc002b314b588f53250 (diff)
ocamlPackages.sha: 1.13 -> 1.14
Diffstat (limited to 'pkgs/development/ocaml-modules/sha')
-rw-r--r--pkgs/development/ocaml-modules/sha/default.nix27
1 files changed, 14 insertions, 13 deletions
diff --git a/pkgs/development/ocaml-modules/sha/default.nix b/pkgs/development/ocaml-modules/sha/default.nix
index a506e6795fd18..80a5205a23014 100644
--- a/pkgs/development/ocaml-modules/sha/default.nix
+++ b/pkgs/development/ocaml-modules/sha/default.nix
@@ -1,28 +1,29 @@
-{ lib
-, fetchurl
-, buildDunePackage
-, ounit
-}:
+{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit }:
 
 buildDunePackage rec {
   pname = "sha";
-  version = "1.13";
-
-  useDune2 = true;
+  version = "1.14";
 
   src = fetchurl {
     url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
-    sha256 = "00z2s4fsv9i1h09rj5dy3nd9hhcn79b75sn2ljj5wihlf4y4g304";
+    sha256 = "114vydrfdp7fayigvgk3ckiby0kh4n49c1j53v8k40gk6nzm3l19";
   };
 
+  useDune2 = true;
+
+  propagatedBuildInputs = [
+    stdlib-shims
+  ];
+
   doCheck = true;
-  checkInputs = [ ounit ];
+  checkInputs = [
+    ounit
+  ];
 
   meta = with lib; {
     description = "Binding for SHA interface code in OCaml";
-    maintainers = [ maintainers.arthurteisseire ];
-    homepage = "https://github.com/djs55/ocaml-${pname}";
+    homepage = "https://github.com/djs55/ocaml-sha/";
     license = licenses.isc;
+    maintainers = with maintainers; [ arthurteisseire ];
   };
-
 }