2023-04-05 20:24:44 +02:00
|
|
|
{ lib, nimPackages, fetchFromGitHub }:
|
|
|
|
nimPackages.buildNimPackage rec {
|
|
|
|
pname = "promexplorer";
|
2023-05-05 10:29:58 +02:00
|
|
|
version = "0.0.5";
|
2023-04-05 20:24:44 +02:00
|
|
|
nimBinOnly = true;
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marcusramberg";
|
|
|
|
repo = "promexplorer";
|
|
|
|
rev = "v${version}";
|
2023-05-05 10:29:58 +02:00
|
|
|
hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
|
2023-04-05 20:24:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with nimPackages; [ illwill illwillwidgets ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple tool to explore prometheus exporter metrics";
|
|
|
|
homepage = "https://github.com/marcusramberg/promexplorer";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ marcusramberg ];
|
|
|
|
};
|
|
|
|
}
|