nixpkgs-suyu/pkgs/development/tools/packet-cli/default.nix

23 lines
593 B
Nix
Raw Normal View History

2020-04-16 17:20:40 +02:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "packet-cli";
2020-06-06 17:08:18 +02:00
version = "0.0.7";
2020-04-16 17:20:40 +02:00
src = fetchFromGitHub {
owner = "packethost";
repo = pname;
rev = version;
2020-06-06 17:08:18 +02:00
sha256 = "1ixdqq0xwy2l2m1w93rzqw5gfrzw7w03r42qab3n733m4jkf4ni1";
2020-04-16 17:20:40 +02:00
};
vendorSha256 = "10praxaiscxq4v3zknrabldxl7rpklkr5wdlwa5lxsx0if8mrvp7";
2020-04-16 17:20:40 +02: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;
};
}