nixpkgs/pkgs/development/tools/packet-cli/default.nix
2020-04-16 18:21:21 +03:00

23 lines
591 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "packet-cli";
version = "0.0.6";
src = fetchFromGitHub {
owner = "packethost";
repo = pname;
rev = version;
sha256 = "17f3ax7pjm5k93cxj7fd8hwr4id1lbzz9pkl2xflpxydi89bwdfz";
};
modSha256 = "1hyv1vxk1rsr3jq3b08q0487sqf3y0km3mlwvqivib1y6hrknnnr";
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;
};
}