2023-08-04 22:07:22 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.7.17";
|
2021-08-27 14:25:00 +00:00
|
|
|
pname = "ossutil";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aliyun";
|
|
|
|
repo = "ossutil";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-5Z0mMgDYexUQAcngeEd0m5J5kRwWTGIS2Q+idBcTV98=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-4a/bNH47sxxwgYYQhHTqyXddJit3VbeM49/4IEfjWsY=";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
# 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";
|
2023-05-24 13:37:59 +00:00
|
|
|
homepage = "https://github.com/aliyun/ossutil";
|
|
|
|
changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jpetrucciani ];
|
|
|
|
};
|
|
|
|
}
|