@@ -1,28 +1,29 @@
1−{ lib
2−, fetchurl
3−, buildDunePackage
4−, ounit
5−}:
1+{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit }:
62
73buildDunePackage rec {
84 pname = "sha";
9− version = "1.13";
10−
11− useDune2 = true;
5+ version = "1.14";
126
137 src = fetchurl {
148 url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
15− sha256 = "00z2s4fsv9i1h09rj5dy3nd9hhcn79b75sn2ljj5wihlf4y4g304";
9+ sha256 = "114vydrfdp7fayigvgk3ckiby0kh4n49c1j53v8k40gk6nzm3l19";
1610 };
1711
12+ useDune2 = true;
13+
14+ propagatedBuildInputs = [
15+ stdlib-shims
16+ ];
17+
1818 doCheck = true;
19− checkInputs = [ ounit ];
19+ checkInputs = [
20+ ounit
21+ ];
2022
2123 meta = with lib; {
2224 description = "Binding for SHA interface code in OCaml";
23− maintainers = [ maintainers.arthurteisseire ];
24− homepage = "https://github.com/djs55/ocaml-${pname}";
25+ homepage = "https://github.com/djs55/ocaml-sha/";
2526 license = licenses.isc;
27+ maintainers = with maintainers; [ arthurteisseire ];
2628 };
27−
2829}