nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 502 B view raw
1{ 2 lib, 3 buildDunePackage, 4 cohttp, 5 ipaddr, 6 lwt, 7 uri, 8 ppx_sexp_conv, 9 logs, 10 sexplib0, 11}: 12 13buildDunePackage { 14 pname = "cohttp-lwt"; 15 inherit (cohttp) 16 version 17 src 18 ; 19 20 buildInputs = [ ppx_sexp_conv ]; 21 22 propagatedBuildInputs = [ 23 cohttp 24 lwt 25 logs 26 sexplib0 27 uri 28 ] 29 ++ lib.optionals (lib.versionAtLeast cohttp.version "6.0.0") [ 30 ipaddr 31 ]; 32 33 meta = cohttp.meta // { 34 description = "CoHTTP implementation using the Lwt concurrency library"; 35 }; 36}