flarectl: init at 0.80.0

Flarectl is a CLI application for interacting with a Cloudflare account.
This commit is contained in:
Jared Baur 2023-10-29 03:50:25 +00:00
parent dece010cc1
commit 673be3eed6
No known key found for this signature in database

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