nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 587 B view raw
1{ 2 buildDunePackage, 3 prometheus, 4 asetmap, 5 astring, 6 cohttp-lwt, 7 cohttp-lwt-unix, 8 cmdliner, 9 fmt, 10 logs, 11 lwt, 12 re, 13 alcotest, 14 alcotest-lwt, 15}: 16 17buildDunePackage { 18 pname = "prometheus-app"; 19 inherit (prometheus) 20 version 21 src 22 ; 23 24 propagatedBuildInputs = [ 25 asetmap 26 astring 27 cmdliner 28 cohttp-lwt 29 cohttp-lwt-unix 30 fmt 31 logs 32 lwt 33 prometheus 34 re 35 ]; 36 37 doCheck = true; 38 39 checkInputs = [ 40 alcotest 41 alcotest-lwt 42 ]; 43 44 meta = prometheus.meta // { 45 description = "A web-server reporting prometheus metrics."; 46 }; 47}