about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/promexplorer/default.nix
blob: efdbbe4e6da58cfe78f6fa58446584c83696ccee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, nimPackages, fetchFromGitHub }:
nimPackages.buildNimPackage rec {
  pname = "promexplorer";
  version = "0.0.5";
  nimBinOnly = true;
  src = fetchFromGitHub {
    owner = "marcusramberg";
    repo = "promexplorer";
    rev = "v${version}";
    hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
  };

  buildInputs = with nimPackages; [ illwill illwillwidgets ];

  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 ];
  };
}