File tree Expand file tree Collapse file tree 1 file changed +31
-26
lines changed
pkgs/development/ocaml-modules/piaf Expand file tree Collapse file tree 1 file changed +31
-26
lines changed Original file line number Diff line number Diff line change 1- { alcotest-lwt
1+ { alcotest
22, buildDunePackage
3- , ocaml
4- , bigarray-compat
5- , dune-site
63, fetchurl
7- , gluten-lwt-unix
4+ , eio-ssl
5+ , faraday
6+ , h2-eio
7+ , httpun-eio
8+ , httpun-ws
9+ , ipaddr
10+ , ke
811, lib
912, logs
1013, magic-mime
11- , mrmime
12- , psq
13- , rresult
14+ , pecu
15+ , prettym
16+ , unstrctrd
1417, uri
18+ , uutf
19+ , dune-site
20+ , eio_main
1521} :
1622
17- lib . throwIf ( lib . versionAtLeast ocaml . version "5.0" )
18- "piaf is not available for OCaml ${ ocaml . version } "
19-
2023buildDunePackage rec {
2124 pname = "piaf" ;
22- version = "0.1 .0" ;
25+ version = "0.2 .0" ;
2326
2427 src = fetchurl {
2528 url = "https://github.com/anmonteiro/piaf/releases/download/${ version } /piaf-${ version } .tbz" ;
26- hash = "sha256-AMO+ptGox33Bi7u/H0SaeCU88XORrRU3UbLof3EwcmU =" ;
29+ hash = "sha256-B/qQCaUvrqrm2GEW51AH9SebGFx7x8laq5RV8hBzcPs =" ;
2730 } ;
2831
29- postPatch = ''
30- substituteInPlace ./vendor/dune --replace "mrmime.prettym" "prettym"
31- '' ;
32-
3332 propagatedBuildInputs = [
34- bigarray-compat
33+ eio-ssl
34+ faraday
35+ h2-eio
36+ httpun-eio
37+ httpun-ws
38+ ipaddr
3539 logs
3640 magic-mime
37- mrmime
38- psq
39- rresult
41+ pecu
42+ prettym
43+ unstrctrd
4044 uri
41- gluten-lwt-unix
45+ uutf
4246 ] ;
4347
44- nativeCheckInputs = [
45- alcotest-lwt
48+ # Some test cases fail
49+ doCheck = false ;
50+ checkInputs = [
51+ alcotest
4652 dune-site
53+ eio_main
4754 ] ;
48- # Check fails with OpenSSL 3
49- doCheck = false ;
5055
5156 meta = {
5257 description = "HTTP library with HTTP/2 support written entirely in OCaml" ;
You can’t perform that action at this time.
0 commit comments