2023-10-31 17:05:49 +01:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub }:
|
|
|
|
buildNimPackage (finalAttrs: {
|
2023-04-05 20:24:44 +02:00
|
|
|
pname = "promexplorer";
|
2023-05-05 10:29:58 +02:00
|
|
|
version = "0.0.5";
|
2023-04-05 20:24:44 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marcusramberg";
|
|
|
|
repo = "promexplorer";
|
2023-10-31 17:05:49 +01:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-05-05 10:29:58 +02:00
|
|
|
hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
|
2023-04-05 20:24:44 +02:00
|
|
|
};
|
|
|
|
|
2023-10-31 17:05:49 +01:00
|
|
|
lockFile = ./lock.json;
|
2023-04-05 20:24:44 +02:00
|
|
|
|
|
|
|
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 ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "promexplorer";
|
2023-04-05 20:24:44 +02:00
|
|
|
};
|
2023-10-31 17:05:49 +01:00
|
|
|
})
|