2020-11-19 00:13:47 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2020-11-21 19:51:51 +00:00
|
|
|
, bos, fpath, rresult, ptime, mirage-crypto, x509, astring, logs
|
2020-11-19 00:13:47 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ca-certs";
|
2020-11-21 19:51:51 +00:00
|
|
|
version = "0.1.3";
|
2020-11-19 00:13:47 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-v${version}.tbz";
|
2020-11-21 19:51:51 +00:00
|
|
|
sha256 = "0jpghxjp2n8wx6ig0d2x87ycaql6mb92w8ai3xh3jb288m7g02zn";
|
2020-11-19 00:13:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
propagatedBuildInputs = [ bos fpath rresult ptime mirage-crypto x509 astring logs ];
|
2020-11-19 00:13:47 +00:00
|
|
|
|
|
|
|
# tests need access to network and systemwide ca cert chain
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Detect root CA certificates from the operating system";
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
license = licenses.isc;
|
|
|
|
homepage = "https://github.com/mirage/ca-certs";
|
|
|
|
};
|
|
|
|
}
|