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