1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 version = "1.7.16";
5 pname = "ossutil";
6
7 src = fetchFromGitHub {
8 owner = "aliyun";
9 repo = "ossutil";
10 rev = "refs/tags/v${version}";
11 hash = "sha256-J6t8QoyCvbGrUX2AkdqugztchP7Cc0jZsrn1+OB2hVY=";
12 };
13
14 vendorHash = "sha256-oxhi27Zt91S2RwidM+BPati/HWuP8FrZs1X2R2Px5hI=";
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}