nixpkgs/pkgs/tools/networking/s5cmd/default.nix
2024-02-11 03:19:15 +01:00

26 lines
617 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "s5cmd";
version = "2.2.2";
src = fetchFromGitHub {
owner = "peak";
repo = "s5cmd";
rev = "v${version}";
hash = "sha256-5BIyG6P2pfADSPWtz3KouGPVMpQRiY2X4wtotTCX4lo=";
};
vendorHash = null;
# Skip e2e tests requiring network access
excludedPackages = [ "./e2e" ];
meta = with lib; {
homepage = "https://github.com/peak/s5cmd";
description = "Parallel S3 and local filesystem execution tool";
license = licenses.mit;
maintainers = with maintainers; [ tomberek ];
mainProgram = "s5cmd";
};
}