fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2
3buildGoModule rec {
4 version = "1.7.6";
5 pname = "ossutil";
6
7 src = fetchFromGitHub {
8 owner = "aliyun";
9 repo = "ossutil";
10 rev = version;
11 sha256 = "1hkdk0hidnm7vz320i7s4z7jngx2j70acc93agii2b3r2bb91l3d";
12 };
13
14 # this patch is required to add go mods to fetch dependencies
15 patches = [
16 (fetchpatch {
17 url = "https://github.com/aliyun/ossutil/commit/64067e979fb24ffb198a0c4eca718e81b63f514e.patch";
18 sha256 = "2pn0BcbNNL+iMema54LRpG/ca5kyDugLIZQ/TMhYG/8=";
19 })
20 ];
21
22 vendorSha256 = "lem9Jg4Ywv3qcIwhiZHNi1VH5HxxNr6mnefOLCzPL70=";
23
24 # don't run tests as they require secret access keys that only travis has
25 doCheck = false;
26
27 meta = with lib; {
28 homepage = "https://github.com/aliyun/ossutil";
29 description = "A user friendly command line tool to access Alibaba Cloud OSS";
30 license = licenses.mit;
31 maintainers = with maintainers; [ jpetrucciani ];
32 };
33}