blob: c54c143d5b48cc745acf90cdcb8b6f3411ce1856 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, fetchurl, buildDunePackage, ocaml, stdlib-shims, ounit2 }:
buildDunePackage rec {
pname = "sha";
version = "1.15.4";
src = fetchurl {
url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
hash = "sha256-beWxITmxmZzp30zHiloxiGwqVHydRIvyhT+LU7zx8bE=";
};
propagatedBuildInputs = [
stdlib-shims
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [
ounit2
];
meta = with lib; {
description = "Binding for SHA interface code in OCaml";
homepage = "https://github.com/djs55/ocaml-sha/";
license = licenses.isc;
maintainers = with maintainers; [ arthurteisseire ];
};
}
|