1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "s5cmd";
5 version = "2.2.0";
6
7 src = fetchFromGitHub {
8 owner = "peak";
9 repo = "s5cmd";
10 rev = "v${version}";
11 hash = "sha256-4Jx9hgjj+rthiyB7eKXNcbBv9oJWfwHanPO7bZ4J/K0=";
12 };
13
14 vendorHash = null;
15
16 # Skip e2e tests requiring network access
17 excludedPackages = [ "./e2e" ];
18
19 meta = with lib; {
20 homepage = "https://github.com/peak/s5cmd";
21 description = "Parallel S3 and local filesystem execution tool";
22 license = licenses.mit;
23 maintainers = with maintainers; [ tomberek ];
24 };
25}