nixpkgs/pkgs/tools/admin/ossutil/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
805 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
version = "1.7.18";
pname = "ossutil";
src = fetchFromGitHub {
owner = "aliyun";
repo = "ossutil";
rev = "refs/tags/v${version}";
hash = "sha256-M7Jh3rmWdUlsvj+P0UKazjQoe0zLDro882f/l8wFZGQ=";
};
vendorHash = "sha256-4a/bNH47sxxwgYYQhHTqyXddJit3VbeM49/4IEfjWsY=";
# don't run tests as they require secret access keys that only travis has
doCheck = false;
meta = with lib; {
description = "User friendly command line tool to access Alibaba Cloud OSS";
homepage = "https://github.com/aliyun/ossutil";
changelog = "https://github.com/aliyun/ossutil/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
mainProgram = "ossutil";
};
}