diff options
author | oddlama <oddlama@oddlama.org> | 2023-08-23 12:08:42 +0200 |
---|---|---|
committer | oddlama <oddlama@oddlama.org> | 2023-08-23 14:46:50 +0200 |
commit | d035a550f2f711827badfc60827999d149d6d5b5 (patch) | |
tree | a5b165c44af45e9fad569330df50f7baac222446 /pkgs/servers/nosql/influxdb2 | |
parent | 4c3e761eaf3f41996beb55114335d3c91f58fe3a (diff) |
influxdb2-token-manipulator: init at 1.0.0
Diffstat (limited to 'pkgs/servers/nosql/influxdb2')
-rw-r--r-- | pkgs/servers/nosql/influxdb2/token-manipulator.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/nosql/influxdb2/token-manipulator.nix b/pkgs/servers/nosql/influxdb2/token-manipulator.nix new file mode 100644 index 0000000000000..88713941b465d --- /dev/null +++ b/pkgs/servers/nosql/influxdb2/token-manipulator.nix @@ -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"; + }; +} |