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