75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
29 lines
824 B
Nix
29 lines
824 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, bos, fpath, rresult, ptime, mirage-crypto, x509, astring, logs
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ca-certs";
|
|
version = "0.2.0";
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-v${version}.tbz";
|
|
sha256 = "15jfb5zvahs90jsfs7ridqihlka5198z2xrvplj8ddchxfmpx868";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [ bos fpath rresult ptime mirage-crypto x509 astring logs ];
|
|
|
|
# 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";
|
|
};
|
|
}
|