depot/third_party/nixpkgs/pkgs/tools/admin/ossutil/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

26 lines
778 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
version = "1.7.17";
pname = "ossutil";
src = fetchFromGitHub {
owner = "aliyun";
repo = "ossutil";
rev = "refs/tags/v${version}";
hash = "sha256-5Z0mMgDYexUQAcngeEd0m5J5kRwWTGIS2Q+idBcTV98=";
};
vendorHash = "sha256-4a/bNH47sxxwgYYQhHTqyXddJit3VbeM49/4IEfjWsY=";
# don't run tests as they require secret access keys that only travis has
doCheck = false;
meta = with lib; {
description = "A user friendly command line tool to access Alibaba Cloud OSS";
homepage = "https://github.com/aliyun/ossutil";
changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}