3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/flyctl/default.nix

33 lines
665 B
Nix
Raw Normal View History

{ 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-02 11:03:21 +01:00
modSha256 = "0d0hfmdk81apha3r7zspam8wqadpy6qmqkgbq0sbiwrji4155hrh";
2020-03-08 22:30:29 +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 ];
};
}