mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
623 B
Nix
27 lines
623 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "packet";
|
|
version = "2.2.2";
|
|
|
|
goPackagePath = "github.com/ebsarr/packet";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ebsarr";
|
|
repo = "packet";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-jm9u+LQE48aqO6CLdLZAw38woH1phYnEYpEsRbNwyKI=";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
meta = with lib; {
|
|
description = "a CLI tool to manage packet.net services";
|
|
mainProgram = "packet";
|
|
homepage = "https://github.com/ebsarr/packet";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ grahamc ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|