Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
708 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}