fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / ocaml-modules / ca-certs / default.nix
blob23a76af41387428983086cb93c9bbbc056231459
2   lib,
3   buildDunePackage,
4   fetchurl,
5   bos,
6   fpath,
7   ptime,
8   mirage-crypto,
9   x509,
10   astring,
11   logs,
12   cacert,
13   alcotest,
14   fmt,
17 buildDunePackage rec {
18   pname = "ca-certs";
19   version = "1.0.0";
21   minimalOCamlVersion = "4.08";
23   src = fetchurl {
24     url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-${version}.tbz";
25     hash = "sha256-hpDyMSNGckeZ8tihtoTsFrYnsCfUFkgDoOK34kYsCnI=";
26   };
28   propagatedBuildInputs = [
29     bos
30     fpath
31     ptime
32     mirage-crypto
33     x509
34     astring
35     logs
36   ];
38   doCheck = true;
39   checkInputs = [
40     cacert # for /etc/ssl/certs/ca-bundle.crt
41     alcotest
42     fmt
43   ];
45   meta = with lib; {
46     description = "Detect root CA certificates from the operating system";
47     maintainers = [ maintainers.sternenseemann ];
48     license = licenses.isc;
49     homepage = "https://github.com/mirage/ca-certs";
50   };