ae1b531433
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
28 lines
810 B
Nix
28 lines
810 B
Nix
{ lib, fetchurl, buildDunePackage, ounit, cstruct, dune-configurator, eqaf, pkg-config }:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
pname = "mirage-crypto";
|
|
version = "0.8.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
|
sha256 = "1fghg89lpm1iks6nk1jhqcimpvb52jih0ys9bxbn2f343l0njbkq";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit ];
|
|
|
|
nativeBuildInputs = [ dune-configurator pkg-config ];
|
|
propagatedBuildInputs = [ cstruct eqaf ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/mirage-crypto";
|
|
description = "Simple symmetric cryptography for the modern age";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|