Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 62 lines 845 B view raw
1{ buildDunePackage 2, lib 3, fetchurl 4, astring 5, base64 6, cmdliner 7, fmt 8, httpaf 9, httpaf-lwt-unix 10, logs 11, magic-mime 12, mirage-crypto 13, mtime 14, multipart-form-data 15, ptime 16, re 17, rock 18, tyxml 19, uri 20, yojson 21, alcotest-lwt 22}: 23 24buildDunePackage rec { 25 pname = "opium"; 26 minimalOCamlVersion = "4.08"; 27 duneVersion = "3"; 28 29 inherit (rock) src version; 30 31 propagatedBuildInputs = [ 32 astring 33 base64 34 cmdliner 35 fmt 36 httpaf 37 httpaf-lwt-unix 38 logs 39 magic-mime 40 mirage-crypto 41 mtime 42 multipart-form-data 43 ptime 44 re 45 rock 46 tyxml 47 uri 48 yojson 49 ]; 50 51 doCheck = true; 52 checkInputs = [ 53 alcotest-lwt 54 ]; 55 56 meta = { 57 description = "OCaml web framework"; 58 homepage = "https://github.com/rgrinberg/opium"; 59 license = lib.licenses.mit; 60 maintainers = [ lib.maintainers.pmahoney ]; 61 }; 62}