diff --git a/pkgs/tools/networking/s3gof3r/default.nix b/pkgs/tools/networking/s3gof3r/default.nix index 4623b68ad4c..19422c3ec8e 100644 --- a/pkgs/tools/networking/s3gof3r/default.nix +++ b/pkgs/tools/networking/s3gof3r/default.nix @@ -1,17 +1,24 @@ -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "s3gof3r"; - version = "20151109-${lib.strings.substring 0 7 rev}"; - rev = "31603a0dc94aefb822bfe2ceea75a6be6013b445"; + version = "0.5.0"; goPackagePath = "github.com/rlmcpherson/s3gof3r"; - src = fetchgit { - inherit rev; - url = "https://github.com/rlmcpherson/s3gof3r"; - sha256 = "10banc8hnhxpsdmlkf9nc5fjkh1349bgpd9k7lggw3yih1rvmh7k"; + src = fetchFromGitHub { + owner = "rlmcpherson"; + repo = "s3gof3r"; + rev = "v${version}"; + sha256 = "sha256-88C6c4DRD/4ePTO1+1YiI8ApXWE2uUlr07dDCxGzaoE="; }; goDeps = ./deps.nix; + + meta = with lib; { + description = "Fast, concurrent, streaming access to Amazon S3, including gof3r, a CLI"; + homepage = "https://pkg.go.dev/github.com/rlmcpherson/s3gof3r"; + maintainers = with maintainers; [ ]; + license = licenses.mit; + }; }