Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 lwt_ppx, 6 base64, 7 hmap, 8 lwt, 9 ptime, 10 uri, 11}: 12 13buildDunePackage rec { 14 pname = "dream-pure"; 15 version = "1.0.0-alpha8"; 16 17 src = fetchurl { 18 url = "https://github.com/aantron/dream/releases/download/${version}/dream-${version}.tar.gz"; 19 hash = "sha256-I+2BKJDAP+XJl0pJYano5iEmvte8fX0UQLhGUslc8pY="; 20 }; 21 22 buildInputs = [ lwt_ppx ]; 23 24 propagatedBuildInputs = [ 25 base64 26 hmap 27 lwt 28 ptime 29 uri 30 ]; 31 32 meta = { 33 description = "Shared HTTP types for Dream (server) and Hyper (client)"; 34 homepage = "https://aantron.github.io/dream/"; 35 license = lib.licenses.mit; 36 maintainers = [ lib.maintainers.vbgl ]; 37 }; 38}