Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 626 B view raw
1{ lib, fetchurl, buildDunePackage, astring, asetmap, fmt, re, lwt, alcotest }: 2 3buildDunePackage rec { 4 pname = "prometheus"; 5 version = "1.2"; 6 7 src = fetchurl { 8 url = "https://github.com/mirage/prometheus/releases/download/v${version}/prometheus-${version}.tbz"; 9 sha256 = "sha256-g2Q6ApprbecdFANO7i6U/v8dCHVcSkHVg9wVMKtVW8s="; 10 }; 11 12 duneVersion = "3"; 13 14 propagatedBuildInputs = [ 15 astring 16 asetmap 17 fmt 18 re 19 lwt 20 alcotest 21 ]; 22 23 meta = { 24 description = "Client library for Prometheus monitoring"; 25 license = lib.licenses.asl20; 26 maintainers = [ lib.maintainers.ulrikstrid ]; 27 }; 28}