influxdb2-token-manipulator: init at 1.0.0

This commit is contained in:
oddlama 2023-08-23 12:08:42 +02:00
parent 4c3e761eaf
commit d035a550f2
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,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";
};
}

View file

@ -26863,6 +26863,7 @@ with pkgs;
influxdb = callPackage ../servers/nosql/influxdb { };
influxdb2-server = callPackage ../servers/nosql/influxdb2 { };
influxdb2-cli = callPackage ../servers/nosql/influxdb2/cli.nix { };
influxdb2-token-manipulator = callPackage ../servers/nosql/influxdb2/token-manipulator.nix { };
# For backwards compatibility with older versions of influxdb2,
# which bundled the server and CLI into the same derivation. Will be
# removed in a few releases.