nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 773 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 astring, 6 asetmap, 7 re, 8 lwt, 9}: 10 11buildDunePackage (finalAttrs: { 12 pname = "prometheus"; 13 version = "1.3"; 14 15 src = fetchurl { 16 url = "https://github.com/mirage/prometheus/releases/download/v${finalAttrs.version}/prometheus-${finalAttrs.version}.tbz"; 17 hash = "sha256-4C0UzwaCgqtk5SGIY89rg0dxdrKm63lhdcOaQAa20L8="; 18 }; 19 20 propagatedBuildInputs = [ 21 astring 22 asetmap 23 re 24 lwt 25 ]; 26 27 meta = { 28 homepage = "https://github.com/mirage/prometheus"; 29 description = "Client library for Prometheus monitoring"; 30 license = lib.licenses.asl20; 31 maintainers = [ lib.maintainers.ulrikstrid ]; 32 changelog = "https://raw.githubusercontent.com/mirage/prometheus/v${finalAttrs.version}/CHANGES.md"; 33 }; 34})