2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2020-03-08 22:30:29 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "flyctl";
|
2020-05-02 11:03:21 +01:00
|
|
|
version = "0.0.117";
|
2020-03-08 22:30:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "superfly";
|
|
|
|
repo = "flyctl";
|
|
|
|
rev = "v${version}";
|
2020-05-02 11:03:21 +01:00
|
|
|
sha256 = "0i9azvhlwp5g699yagfbd5rnsr5kdnbw6lsz28nz1dzvmrj9xp7w";
|
2020-03-08 22:30:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
go generate ./...
|
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
rm $out/bin/doc
|
|
|
|
rm $out/bin/helpgen
|
|
|
|
'';
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "10wcyxzkwvbhf86dq1rh852zgdg28draay0515zp459z34vv4zna";
|
2020-03-08 22:30:29 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2020-03-08 22:30:29 +00:00
|
|
|
description = "Command line tools for fly.io services";
|
|
|
|
homepage = "https://fly.io/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ aaronjanse ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|