mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
s3gof3r: switch to fetchFromGitHub
This commit is contained in:
parent
e822bf4e6b
commit
7b4607f83f
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user