nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 62 lines 894 B view raw
1{ 2 buildDunePackage, 3 lib, 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 { 25 pname = "opium"; 26 minimalOCamlVersion = "4.08"; 27 28 inherit (rock) src version; 29 30 propagatedBuildInputs = [ 31 astring 32 base64 33 cmdliner 34 fmt 35 httpaf 36 httpaf-lwt-unix 37 logs 38 magic-mime 39 mirage-crypto 40 mtime 41 multipart-form-data 42 ptime 43 re 44 rock 45 tyxml 46 uri 47 yojson 48 ]; 49 50 doCheck = true; 51 checkInputs = [ 52 alcotest-lwt 53 ]; 54 55 meta = { 56 description = "OCaml web framework"; 57 homepage = "https://github.com/rgrinberg/opium"; 58 license = lib.licenses.mit; 59 maintainers = [ lib.maintainers.pmahoney ]; 60 broken = true; # Not compatible with mirage-crypto ≥ 1.0 61 }; 62}