mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
23 lines
652 B
Nix
23 lines
652 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 = "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";
|
|
};
|
|
})
|