about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/nosql/influxdb2/token-manipulator.nix
blob: 88713941b465dc081704789659e1c7b012c96b83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ buildGoModule
, fetchFromGitHub
, lib
}:

buildGoModule rec {
  pname = "influxdb2-token-manipulator";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "oddlama";
    repo = "influxdb2-token-manipulator";
    rev = "v${version}";
    hash = "sha256-9glz+TdqvGJgSsbLm4J/fn7kzMC75z74/jxZrEZiooc=";
  };

  vendorHash = "sha256-zBZk7JbNILX18g9+2ukiESnFtnIVWhdN/J/MBhIITh8=";

  meta = with lib; {
    description = "Utility program to manipulate influxdb api tokens for declarative setups";
    homepage = "https://github.com/oddlama/influxdb2-token-manipulator";
    license = licenses.mit;
    maintainers = with maintainers; [oddlama];
    mainProgram = "influxdb2-token-manipulator";
  };
}