lol
at 23.11-beta 34 lines 859 B view raw
1{ lib, buildDunePackage, fetchurl 2, bos, fpath, ptime, mirage-crypto, x509, astring, logs 3, cacert, alcotest, fmt 4}: 5 6buildDunePackage rec { 7 pname = "ca-certs"; 8 version = "0.2.3"; 9 10 minimalOCamlVersion = "4.08"; 11 12 src = fetchurl { 13 url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-${version}.tbz"; 14 hash = "sha256-0tjWRX2RXvbXg974Lzvl7C9W+S4gIU9Y7dY8nC/GDpw="; 15 }; 16 17 duneVersion = "3"; 18 19 propagatedBuildInputs = [ bos fpath ptime mirage-crypto x509 astring logs ]; 20 21 doCheck = true; 22 checkInputs = [ 23 cacert # for /etc/ssl/certs/ca-bundle.crt 24 alcotest 25 fmt 26 ]; 27 28 meta = with lib; { 29 description = "Detect root CA certificates from the operating system"; 30 maintainers = [ maintainers.sternenseemann ]; 31 license = licenses.isc; 32 homepage = "https://github.com/mirage/ca-certs"; 33 }; 34}