1{
2 lib,
3 buildNimPackage,
4 fetchFromGitHub,
5}:
6buildNimPackage (finalAttrs: {
7 pname = "promexplorer";
8 version = "0.0.5";
9 src = fetchFromGitHub {
10 owner = "marcusramberg";
11 repo = "promexplorer";
12 rev = "v${finalAttrs.version}";
13 hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
14 };
15
16 lockFile = ./lock.json;
17
18 meta = with lib; {
19 description = "Simple tool to explore prometheus exporter metrics";
20 homepage = "https://github.com/marcusramberg/promexplorer";
21 license = licenses.mit;
22 platforms = platforms.unix;
23 maintainers = with maintainers; [ marcusramberg ];
24 mainProgram = "promexplorer";
25 };
26})