depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ca-certs-nss/default.nix
Default email a425ba4985 Project import generated by Copybara.
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
2021-12-30 14:39:12 +01:00

51 lines
907 B
Nix

{ lib
, buildDunePackage
, fetchurl
, mirage-crypto
, mirage-clock
, x509
, logs
, fmt
, bos
, astring
, cmdliner
, alcotest
}:
buildDunePackage rec {
pname = "ca-certs-nss";
version = "3.71.0.1";
minimumOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-v${version}.tbz";
sha256 = "b83749d983781631745079dccb7345d9ee1b52c1844ce865e97a25349289a124";
};
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";
};
}