5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
52 lines
932 B
Nix
52 lines
932 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, mirage-crypto
|
|
, mirage-clock
|
|
, x509
|
|
, logs
|
|
, fmt
|
|
, bos
|
|
, astring
|
|
, cmdliner
|
|
, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ca-certs-nss";
|
|
version = "3.77";
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-${version}.tbz";
|
|
sha256 = "sha256-Ezos9A2AQOo43R9akVbJ5l+euTDtguzMfH63YXo9hvc=";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [
|
|
mirage-crypto
|
|
mirage-clock
|
|
x509
|
|
];
|
|
|
|
buildInputs = [
|
|
logs
|
|
fmt
|
|
bos
|
|
astring
|
|
cmdliner
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
meta = with lib; {
|
|
description = "X.509 trust anchors extracted from Mozilla's NSS";
|
|
homepage = "https://github.com/mirage/ca-certs-nss";
|
|
license = licenses.isc;
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
mainProgram = "extract-from-certdata";
|
|
};
|
|
}
|