Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fl / flarectl / package.nix
blobbb194bc1ca9e750ffe2f40524e3e27abf16b19c5
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "flarectl";
8   version = "0.99.0";
10   src = fetchFromGitHub {
11     owner = "cloudflare";
12     repo = "cloudflare-go";
13     rev = "v${version}";
14     hash = "sha256-Mv9LuNW5qnWuFYEbvv7cuPFM4PFixhgyFO90SBUS5Fg=";
15   };
17   vendorHash = "sha256-k1JZGkJy5oGI3pEcrStNrsQTh8diNoe4DARqRX4PGS8=";
19   subPackages = [ "cmd/flarectl" ];
21   ldflags = [ "-s" "-w" ];
23   meta = with lib; {
24     description = "CLI application for interacting with a Cloudflare account";
25     homepage = "https://github.com/cloudflare/cloudflare-go";
26     changelog = "https://github.com/cloudflare/cloudflare-go/blob/${src.rev}/CHANGELOG.md";
27     license = licenses.bsd3;
28     maintainers = with maintainers; [ jmbaur ];
29     mainProgram = "flarectl";
30   };