2020-04-16 16:20:40 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "packet-cli";
|
2020-06-06 16:08:18 +01:00
|
|
|
version = "0.0.7";
|
2020-04-16 16:20:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "packethost";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-06-06 16:08:18 +01:00
|
|
|
sha256 = "1ixdqq0xwy2l2m1w93rzqw5gfrzw7w03r42qab3n733m4jkf4ni1";
|
2020-04-16 16:20:40 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "10praxaiscxq4v3zknrabldxl7rpklkr5wdlwa5lxsx0if8mrvp7";
|
2020-04-16 16:20:40 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Official Packet CLI";
|
|
|
|
homepage = "https://github.com/packethost/packet-cli";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|