1{ lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "packet";
5 version = "2.2.2";
6
7 goPackagePath = "github.com/ebsarr/packet";
8
9 src = fetchFromGitHub {
10 owner = "ebsarr";
11 repo = "packet";
12 rev = "v${version}";
13 sha256 = "sha256-jm9u+LQE48aqO6CLdLZAw38woH1phYnEYpEsRbNwyKI=";
14 };
15
16 goDeps = ./deps.nix;
17
18 meta = with lib; {
19 description = "a CLI tool to manage packet.net services";
20 homepage = "https://github.com/ebsarr/packet";
21 license = licenses.mit;
22 maintainers = with maintainers; [ grahamc ];
23 platforms = platforms.unix;
24 };
25}