2023-07-25 14:54:32 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2021-08-23 16:25:49 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2024-01-21 00:09:44 +00:00
|
|
|
version = "1.7.18";
|
2021-08-23 16:25:49 +01:00
|
|
|
pname = "ossutil";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aliyun";
|
|
|
|
repo = "ossutil";
|
2023-05-20 16:16:06 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-21 00:09:44 +00:00
|
|
|
hash = "sha256-M7Jh3rmWdUlsvj+P0UKazjQoe0zLDro882f/l8wFZGQ=";
|
2021-08-23 16:25:49 +01:00
|
|
|
};
|
|
|
|
|
2023-11-03 03:16:10 +00:00
|
|
|
vendorHash = "sha256-4a/bNH47sxxwgYYQhHTqyXddJit3VbeM49/4IEfjWsY=";
|
2021-08-23 16:25:49 +01: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-20 16:16:06 +01:00
|
|
|
homepage = "https://github.com/aliyun/ossutil";
|
|
|
|
changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
|
2021-08-23 16:25:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jpetrucciani ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "ossutil";
|
2021-08-23 16:25:49 +01:00
|
|
|
};
|
|
|
|
}
|