depot/third_party/nixpkgs/pkgs/by-name/pr/promexplorer/package.nix

23 lines
652 B
Nix
Raw Normal View History

{ 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 = "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";
};
})