Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aliyun-fcli: init at 1.0.3 #142809

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8544,6 +8544,12 @@
githubId = 101514;
name = "Orivej Desh";
};
ornxka = {
email = "[email protected]";
github = "ornxka";
githubId = 52086525;
name = "ornxka";
};
oro = {
email = "[email protected]";
github = "oro";
Expand Down
26 changes: 26 additions & 0 deletions pkgs/tools/admin/aliyun-fcli/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
pname = "fcli";
version = "1.0.4";
goPackagePath = "github.com/aliyun/${pname}";

src = fetchFromGitHub {
rev = "v${version}";
owner = "aliyun";
repo = pname;
sha256 = "sha256:1v5la0yrpqlrsfj125wh61af8gs5m03djbfjk9k9qq14hfi956vr";
};

# see updatedeps.sh for how to generate this file
goDeps = ./deps.nix;

patches = [./uuiddep.patch];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch changes the library for generating UUID's from https://github.com/satori/go.uuid to https://github.com/gofrs/uuid, a more active fork. The original library no longer compiles with this package, has not been updated since 2018, and has unpatched CVEs. This issue satori/go.uuid#115 explains the situation.


meta = with lib; {
description = "Alibaba Cloud Function Compute command line tools.";
homepage = "https://github.com/aliyun/fcli";
license = licenses.asl20;
maintainers = with maintainers; [ ornxka ];
};
}
Loading