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";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.98";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-13 20:06:32 +00:00
|
|
|
url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-${version}.tbz";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-N1/cz8e3KB3pBd5+ZV/JbuW6FaaVijNhok7QyMB7ppc=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-crypto
|
|
|
|
mirage-clock
|
|
|
|
x509
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
bos
|
|
|
|
astring
|
|
|
|
cmdliner
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "X.509 trust anchors extracted from Mozilla's NSS";
|
|
|
|
homepage = "https://github.com/mirage/ca-certs-nss";
|
2022-05-18 14:49:53 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
mainProgram = "extract-from-certdata";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|