nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/default.nix
sternenseemann 80b13365e9 ocamlPackages.mirage-crypto*: 0.8.8 -> 0.8.10
ocamlPackages.x509: fix tests for mirage-crypto >= 0.8.9
2021-01-21 21:41:18 +01:00

29 lines
823 B
Nix

{ lib, fetchurl, buildDunePackage, ounit, cstruct, dune-configurator, eqaf, pkg-config }:
buildDunePackage rec {
minimumOCamlVersion = "4.08";
pname = "mirage-crypto";
version = "0.8.10";
src = fetchurl {
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
sha256 = "8a5976fe7837491d2fbd1917b77524776f70ae590e9f55cf757cc8951b5481fc";
};
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 ];
};
}