2021-03-09 03:18:52 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "s5cmd";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.2.2";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "peak";
|
|
|
|
repo = "s5cmd";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-5BIyG6P2pfADSPWtz3KouGPVMpQRiY2X4wtotTCX4lo=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
# Skip e2e tests requiring network access
|
|
|
|
excludedPackages = [ "./e2e" ];
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/peak/s5cmd";
|
|
|
|
description = "Parallel S3 and local filesystem execution tool";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ tomberek ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "s5cmd";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|