1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 version = "1.7.17";
5 pname = "ossutil";
6
7 src = fetchFromGitHub {
8 owner = "aliyun";
9 repo = "ossutil";
10 rev = "refs/tags/v${version}";
11 hash = "sha256-5Z0mMgDYexUQAcngeEd0m5J5kRwWTGIS2Q+idBcTV98=";
12 };
13
14 vendorHash = "sha256-4a/bNH47sxxwgYYQhHTqyXddJit3VbeM49/4IEfjWsY=";
15
16 # don't run tests as they require secret access keys that only travis has
17 doCheck = false;
18
19 meta = with lib; {
20 description = "A user friendly command line tool to access Alibaba Cloud OSS";
21 homepage = "https://github.com/aliyun/ossutil";
22 changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
23 license = licenses.mit;
24 maintainers = with maintainers; [ jpetrucciani ];
25 };
26}