Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 67 lines 1.0 kB view raw
1{ 2 lib, 3 buildDunePackage, 4 dream-pure, 5 lwt_ppx, 6 camlp-streams, 7 caqti-lwt, 8 cstruct, 9 digestif, 10 dream-httpaf, 11 graphql-lwt, 12 h2-lwt-unix, 13 httpun-lwt-unix, 14 httpun-ws, 15 lambdasoup, 16 lwt_ssl, 17 magic-mime, 18 markup, 19 mirage-clock, 20 mirage-crypto-rng, 21 mirage-crypto-rng-lwt, 22 multipart_form-lwt, 23 ssl, 24 unstrctrd, 25 uri, 26 yojson, 27}: 28 29buildDunePackage { 30 pname = "dream"; 31 32 inherit (dream-pure) version src; 33 34 # Compatibility with httpun 0.2.0 and h2 0.13 35 patches = [ ./httpun.patch ]; 36 37 buildInputs = [ lwt_ppx ]; 38 39 propagatedBuildInputs = [ 40 camlp-streams 41 caqti-lwt 42 cstruct 43 digestif 44 dream-httpaf 45 dream-pure 46 graphql-lwt 47 h2-lwt-unix 48 httpun-lwt-unix 49 httpun-ws 50 lambdasoup 51 lwt_ssl 52 magic-mime 53 markup 54 mirage-clock 55 mirage-crypto-rng 56 mirage-crypto-rng-lwt 57 multipart_form-lwt 58 ssl 59 unstrctrd 60 uri 61 yojson 62 ]; 63 64 meta = dream-pure.meta // { 65 description = "Tidy, feature-complete Web framework"; 66 }; 67}