2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, mirage-crypto
|
|
|
|
, mirage-clock
|
|
|
|
, x509
|
|
|
|
, logs
|
|
|
|
, fmt
|
|
|
|
, bos
|
|
|
|
, astring
|
|
|
|
, cmdliner
|
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ca-certs-nss";
|
2021-12-30 13:39:12 +00:00
|
|
|
version = "3.71.0.1";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-v${version}.tbz";
|
2021-12-30 13:39:12 +00:00
|
|
|
sha256 = "b83749d983781631745079dccb7345d9ee1b52c1844ce865e97a25349289a124";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-crypto
|
|
|
|
mirage-clock
|
|
|
|
x509
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
bos
|
|
|
|
astring
|
|
|
|
cmdliner
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
license = licenses.isc;
|
|
|
|
description = "X.509 trust anchors extracted from Mozilla's NSS";
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
homepage = "https://github.com/mirage/ca-certs-nss";
|
|
|
|
};
|
|
|
|
}
|