forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / piaf / default.nix
blob9c2e481b76e4d9c2cf7bb3d1263c28d3b1ea82c9
1 { alcotest
2 , buildDunePackage
3 , fetchurl
4 , eio-ssl
5 , faraday
6 , h2-eio
7 , httpun-eio
8 , httpun-ws
9 , ipaddr
10 , ke
11 , lib
12 , logs
13 , magic-mime
14 , pecu
15 , prettym
16 , unstrctrd
17 , uri
18 , uutf
19 , dune-site
20 , eio_main
23 buildDunePackage rec {
24   pname = "piaf";
25   version = "0.2.0";
27   src = fetchurl {
28     url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
29     hash = "sha256-B/qQCaUvrqrm2GEW51AH9SebGFx7x8laq5RV8hBzcPs=";
30   };
32   propagatedBuildInputs = [
33     eio-ssl
34     faraday
35     h2-eio
36     httpun-eio
37     httpun-ws
38     ipaddr
39     logs
40     magic-mime
41     pecu
42     prettym
43     unstrctrd
44     uri
45     uutf
46   ];
48   # Some test cases fail
49   doCheck = false;
50   checkInputs = [
51     alcotest
52     dune-site
53     eio_main
54   ];
56   meta = {
57     description = "HTTP library with HTTP/2 support written entirely in OCaml";
58     homepage = "https://github.com/anmonteiro/piaf";
59     license = lib.licenses.bsd3;
60     maintainers = with lib.maintainers; [ anmonteiro ];
61   };