-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6deae3a
commit 493448d
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
pkgs/applications/networking/cluster/cloud-provider-aws/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
lib, | ||
buildGoModule, | ||
fetchFromGitHub, | ||
nixosTests, | ||
... | ||
}: | ||
buildGoModule rec { | ||
pname = "cloud-provider-aws"; | ||
version = "1.28.11"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "kubernetes"; | ||
repo = "cloud-provider-aws"; | ||
tag = "v${version}"; | ||
hash = "sha256-wsbhJLkJyenc59wwCy+M0cpRqarO7UxLFS6dy6FDY/A="; | ||
}; | ||
|
||
subPackages = [ | ||
"cmd/aws-cloud-controller-manager" | ||
"cmd/ecr-credential-provider" | ||
]; | ||
|
||
env.CGO_ENABLED = 0; | ||
|
||
ldflags = [ | ||
"-s -w -X k8s.io/component-base/version.gitVersion=v${version} -X main.gitVersion=v${version}" | ||
]; | ||
|
||
vendorHash = "sha256-ZZ28dx5QZLU4bOOgno0bfsFooa7fR/laIomjEKShKLQ="; | ||
|
||
doCheck = false; | ||
|
||
meta = { | ||
description = "Kubernetes tools for AWS services, such as ECR Credential Provider or EBS CSI Driver"; | ||
homepage = "https://github.com/kubernetes/cloud-provider-aws/"; | ||
changelog = "https://github.com/kubernetes/cloud-provider-aws/blob/${src.rev}/docs/CHANGELOG.md"; | ||
maintainers = with lib.maintainers; [ fangpen ]; | ||
license = lib.licenses.asl20; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters