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