35 lines
681 B
Nix
35 lines
681 B
Nix
{
|
|
lib,
|
|
ocaml,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
eqaf,
|
|
alcotest,
|
|
crowbar,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "digestif";
|
|
version = "1.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/digestif/releases/download/v${finalAttrs.version}/digestif-${finalAttrs.version}.tbz";
|
|
hash = "sha256-OSeUmlbUNawhBs24OUQAv/mJ1EVn66kDjkfbJmzIhGY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ eqaf ];
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
crowbar
|
|
];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Simple hash algorithms in OCaml";
|
|
homepage = "https://github.com/mirage/digestif";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
})
|