depot/pkgs/tools/networking/s5cmd/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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";
};
}