nixpkgs/pkgs/tools/admin/ossutil/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
780 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2021-08-23 15:25:49 +00:00
buildGoModule rec {
2023-05-20 15:16:06 +00:00
version = "1.7.16";
2021-08-23 15:25:49 +00:00
pname = "ossutil";
src = fetchFromGitHub {
owner = "aliyun";
repo = "ossutil";
2023-05-20 15:16:06 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-J6t8QoyCvbGrUX2AkdqugztchP7Cc0jZsrn1+OB2hVY=";
2021-08-23 15:25:49 +00:00
};
2023-05-20 15:16:06 +00:00
vendorSha256 = "sha256-oxhi27Zt91S2RwidM+BPati/HWuP8FrZs1X2R2Px5hI=";
2021-08-23 15:25:49 +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-20 15:16:06 +00:00
homepage = "https://github.com/aliyun/ossutil";
changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
2021-08-23 15:25:49 +00:00
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}