mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
80b13365e9
ocamlPackages.x509: fix tests for mirage-crypto >= 0.8.9
29 lines
823 B
Nix
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 ];
|
|
};
|
|
}
|