packet: refactor
This commit is contained in:
parent
9d821edfd1
commit
6dc76f3f04
1 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "packet";
|
||||
|
@ -7,19 +6,20 @@ buildGoPackage rec {
|
|||
|
||||
goPackagePath = "github.com/ebsarr/packet";
|
||||
|
||||
src = fetchgit {
|
||||
src = fetchFromGitHub {
|
||||
owner = "ebsarr";
|
||||
repo = "packet";
|
||||
rev = "v${version}";
|
||||
url = "https://github.com/ebsarr/packet";
|
||||
sha256 = "18n8f2rlab4icb28k1b9gnh30zy382v792x07fmcdqq4nkw6wvwf";
|
||||
sha256 = "sha256-jm9u+LQE48aqO6CLdLZAw38woH1phYnEYpEsRbNwyKI=";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "a CLI tool to manage packet.net services";
|
||||
homepage = "https://github.com/ebsarr/packet";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.grahamc ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ grahamc ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue