Files
nixpkgs/pkgs/development/ocaml-modules/ca-certs-nss/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
892 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
fetchurl,
digestif,
mirage-ptime,
x509,
logs,
fmt,
bos,
cmdliner,
alcotest,
}:
buildDunePackage rec {
pname = "ca-certs-nss";
version = "3.115";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-${version}.tbz";
hash = "sha256-cjjvrekr6i7aEj0Ne/+Jhgdi7lf89xh07FlHuS5nOA8=";
};
propagatedBuildInputs = [
mirage-ptime
x509
digestif
];
buildInputs = [
logs
fmt
bos
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";
};
}