nixpkgs/pkgs/by-name/pr/promexplorer/package.nix
2023-11-28 16:48:10 +02:00

22 lines
654 B
Nix

{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (finalAttrs: {
pname = "promexplorer";
version = "0.0.5";
src = fetchFromGitHub {
owner = "marcusramberg";
repo = "promexplorer";
rev = "v${finalAttrs.version}";
hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
};
lockFile = ./lock.json;
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 ];
mainProgram = "promexplorer";
};
})