Merge pull request #169064 from superherointj/package-flyctl-0.0.320

flyctl: 0.0.316 -> 0.0.320

authored by Sandro and committed by GitHub e22337c8 7dcfa05a

+21 -8
+21 -8
pkgs/development/web/flyctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "flyctl"; 5 - version = "0.0.316"; 6 7 src = fetchFromGitHub { 8 owner = "superfly"; 9 repo = "flyctl"; 10 rev = "v${version}"; 11 - sha256 = "sha256-ZIVb4k/KCiHXoEv45lQ2bYAHOXIADCDZOQPeIoMJ8RM="; 12 }; 13 14 preBuild = '' 15 go generate ./... 16 ''; 17 18 - subPackages = [ "." ]; 19 - 20 - vendorSha256 = "sha256-D3eYFEib+PoAOfrkDKXEzq9Ivh6ukZcT+eA10z5LHGE="; 21 - 22 - doCheck = false; 23 24 - ldflags = [ "-s" "-w" "-X github.com/superfly/flyctl/flyctl.Version=${version}" "-X github.com/superfly/flyctl/flyctl.Commit=${src.rev}" "-X github.com/superfly/flyctl/flyctl.BuildDate=1970-01-01T00:00:00+0000" "-X github.com/superfly/flyctl/flyctl.Environment=production" ]; 25 26 meta = with lib; { 27 description = "Command line tools for fly.io services"; 28 homepage = "https://fly.io/"; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ aaronjanse jsierles ];
··· 2 3 buildGoModule rec { 4 pname = "flyctl"; 5 + version = "0.0.320"; 6 7 src = fetchFromGitHub { 8 owner = "superfly"; 9 repo = "flyctl"; 10 rev = "v${version}"; 11 + sha256 = "sha256-hljQzMdA+dfZDQMqehkdZ1giv56IRygby4UF57Cogq8="; 12 }; 13 14 + vendorSha256 = "sha256-8+EYVaWOppzv4bV/rBWyTTdAFSx7QI0a3+oplBglxyQ="; 15 + 16 + subPackages = [ "." ]; 17 + 18 + ldflags = [ 19 + "-s" "-w" 20 + "-X github.com/superfly/flyctl/flyctl.Commit=${src.rev}" 21 + "-X github.com/superfly/flyctl/flyctl.BuildDate=1970-01-01T00:00:00+0000" 22 + "-X github.com/superfly/flyctl/flyctl.Environment=production" 23 + "-X github.com/superfly/flyctl/flyctl.Version=${version}" 24 + ]; 25 + 26 preBuild = '' 27 go generate ./... 28 ''; 29 30 + preCheck = '' 31 + HOME=$(mktemp -d) 32 + ''; 33 34 + postCheck = '' 35 + go test ./... -ldflags="-X 'github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00+0000'" 36 + ''; 37 38 meta = with lib; { 39 description = "Command line tools for fly.io services"; 40 + downloadPage = "https://github.com/superfly/flyctl"; 41 homepage = "https://fly.io/"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ aaronjanse jsierles ];