depot/pkgs/servers/nosql/influxdb2/token-manipulator.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
705 B
Nix
Raw Normal View History

{ 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";
};
}