ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / ocaml-modules / x509 / default.nix
blobd7b3c6e7a1cdbb31462f77cb333eb0701d635a4a
2   lib,
3   fetchurl,
4   buildDunePackage,
5   alcotest,
6   asn1-combinators,
7   domain-name,
8   fmt,
9   gmap,
10   kdf,
11   mirage-crypto,
12   mirage-crypto-ec,
13   mirage-crypto-pk,
14   ipaddr,
15   logs,
16   base64,
17   ohex,
20 buildDunePackage rec {
21   minimalOCamlVersion = "4.08";
23   pname = "x509";
24   version = "1.0.5";
26   src = fetchurl {
27     url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-${version}.tbz";
28     hash = "sha256-77Cdu+UOUh6iqa80/PKMGTm7a+mVIlTc/VKUJwyaKRs=";
29   };
31   checkInputs = [ alcotest ];
32   propagatedBuildInputs = [
33     asn1-combinators
34     domain-name
35     fmt
36     gmap
37     mirage-crypto
38     mirage-crypto-pk
39     mirage-crypto-ec
40     kdf
41     logs
42     base64
43     ipaddr
44     ohex
45   ];
47   doCheck = true;
49   meta = with lib; {
50     homepage = "https://github.com/mirleft/ocaml-x509";
51     description = "X509 (RFC5280) handling in OCaml";
52     license = licenses.bsd2;
53     maintainers = with maintainers; [ vbgl ];
54   };