2024-01-02 11:29:13 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub }:
|
|
|
|
buildNimPackage (finalAttrs: {
|
2023-04-29 16:46:19 +00:00
|
|
|
pname = "promexplorer";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.0.5";
|
2023-04-29 16:46:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marcusramberg";
|
|
|
|
repo = "promexplorer";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
lockFile = ./lock.json;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple tool to explore prometheus exporter metrics";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://github.com/marcusramberg/promexplorer";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ marcusramberg ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "promexplorer";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
2024-01-02 11:29:13 +00:00
|
|
|
})
|