mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
50 lines
886 B
Nix
50 lines
886 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
bos,
|
|
fpath,
|
|
ptime,
|
|
mirage-crypto,
|
|
x509,
|
|
astring,
|
|
logs,
|
|
cacert,
|
|
alcotest,
|
|
fmt,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "ca-certs";
|
|
version = "1.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ca-certs/releases/download/v${finalAttrs.version}/ca-certs-${finalAttrs.version}.tbz";
|
|
hash = "sha256-At/J53cLGCGN8uJRGScR3UTFhYrSRXVpOxRas9fUHCk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bos
|
|
fpath
|
|
ptime
|
|
mirage-crypto
|
|
x509
|
|
astring
|
|
logs
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
cacert # for /etc/ssl/certs/ca-bundle.crt
|
|
alcotest
|
|
fmt
|
|
];
|
|
|
|
meta = {
|
|
description = "Detect root CA certificates from the operating system";
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
license = lib.licenses.isc;
|
|
homepage = "https://github.com/mirage/ca-certs";
|
|
};
|
|
})
|