Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
ohex,
|
|
ounit2,
|
|
dune-configurator,
|
|
eqaf,
|
|
withFreestanding ? false,
|
|
ocaml-freestanding,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimalOCamlVersion = "4.13";
|
|
|
|
pname = "mirage-crypto";
|
|
version = "2.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-${version}.tbz";
|
|
hash = "sha256-c5qdOfNAJ/vJNVf4fFysQZClK92t/3LyEvqoA9YhWHQ=";
|
|
};
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
ohex
|
|
ounit2
|
|
];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [
|
|
eqaf
|
|
]
|
|
++ lib.optionals withFreestanding [
|
|
ocaml-freestanding
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mirage/mirage-crypto";
|
|
description = "Simple symmetric cryptography for the modern age";
|
|
changelog = "https://raw.githubusercontent.com/mirage/mirage-crypto/refs/tags/v${version}/CHANGES.md";
|
|
license = with lib.licenses; [
|
|
isc # default license
|
|
bsd2 # mirage-crypto-rng-mirage
|
|
mit # mirage-crypto-ec
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
sternenseemann
|
|
momeemt
|
|
];
|
|
};
|
|
}
|