Merge pull request #264090 from jmbaur/flarectl-init
flarectl: init at 0.80.0
This commit is contained in:
commit
0fc219f661
31
pkgs/by-name/fl/flarectl/package.nix
Normal file
31
pkgs/by-name/fl/flarectl/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "flarectl";
|
||||
version = "0.80.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = "cloudflare-go";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Dks5tF+mHVmtj8Uh8eK50ZPZTW8p65Da08EHUnLfF7g=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-gQxHJNPLVcnilMIv4drDCcQ8QJCyuZ6vejsuo0elIPw=";
|
||||
|
||||
subPackages = [ "cmd/flarectl" ];
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI application for interacting with a Cloudflare account";
|
||||
homepage = "https://github.com/cloudflare/cloudflare-go";
|
||||
changelog = "https://github.com/cloudflare/cloudflare-go/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ jmbaur ];
|
||||
mainProgram = "flarectl";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user