Merge pull request #162227 from Stunkymonkey/packet-refactor

This commit is contained in:
Sandro 2022-03-02 11:27:37 +01:00 committed by GitHub
commit b7e3dc266f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};
}