nixos/crab-hole: init (#341598)
[NixPkgs.git] / pkgs / servers / nosql / influxdb2 / token-manipulator.nix
blob12db726fdb56d53eb5baf04506e60765b525ab52
2   buildGoModule,
3   fetchFromGitHub,
4   lib,
5 }:
7 buildGoModule rec {
8   pname = "influxdb2-token-manipulator";
9   version = "1.0.0";
11   src = fetchFromGitHub {
12     owner = "oddlama";
13     repo = "influxdb2-token-manipulator";
14     rev = "v${version}";
15     hash = "sha256-9glz+TdqvGJgSsbLm4J/fn7kzMC75z74/jxZrEZiooc=";
16   };
18   vendorHash = "sha256-zBZk7JbNILX18g9+2ukiESnFtnIVWhdN/J/MBhIITh8=";
20   meta = with lib; {
21     description = "Utility program to manipulate influxdb api tokens for declarative setups";
22     homepage = "https://github.com/oddlama/influxdb2-token-manipulator";
23     license = licenses.mit;
24     maintainers = with maintainers; [ oddlama ];
25     mainProgram = "influxdb2-token-manipulator";
26   };