2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2020-03-08 22:30:29 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "flyctl";
|
2020-04-01 12:49:03 +01:00
|
|
|
version = "0.0.110";
|
2020-03-08 22:30:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "superfly";
|
|
|
|
repo = "flyctl";
|
|
|
|
rev = "v${version}";
|
2020-04-01 12:49:03 +01:00
|
|
|
sha256 = "1fvvanyzrai41fq98msjwzgwsidxbaly6f6knma6lwmicv4f9svg";
|
2020-03-08 22:30:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
go generate ./...
|
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
rm $out/bin/doc
|
|
|
|
rm $out/bin/helpgen
|
|
|
|
'';
|
|
|
|
|
2020-04-01 12:49:03 +01:00
|
|
|
modSha256 = "0lnk2g5msqhhshh99s32sqd793rdlzmp7vhqdb1fd6qafrrrxm5w";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|