2022-02-28 14:00:20 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-01-17 13:20:54 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "packet";
|
2022-02-28 11:35:10 +00:00
|
|
|
version = "2.2.2";
|
2017-01-17 13:20:54 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ebsarr/packet";
|
|
|
|
|
2022-02-28 14:00:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ebsarr";
|
|
|
|
repo = "packet";
|
2022-02-28 11:35:10 +00:00
|
|
|
rev = "v${version}";
|
2022-02-28 14:00:20 +00:00
|
|
|
sha256 = "sha256-jm9u+LQE48aqO6CLdLZAw38woH1phYnEYpEsRbNwyKI=";
|
2017-01-17 13:20:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2022-02-28 14:00:20 +00:00
|
|
|
meta = with lib; {
|
2017-01-17 13:20:54 +00:00
|
|
|
description = "a CLI tool to manage packet.net services";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ebsarr/packet";
|
2022-02-28 14:00:20 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ grahamc ];
|
|
|
|
platforms = platforms.unix;
|
2017-01-17 13:20:54 +00:00
|
|
|
};
|
|
|
|
}
|