2018-07-24 10:33:58 +02:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib, ... }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "amazon-ecr-credential-helper";
|
2022-01-20 11:27:54 +01:00
|
|
|
version = "0.6.0";
|
2018-07-24 10:33:58 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/awslabs/amazon-ecr-credential-helper";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "awslabs";
|
|
|
|
repo = "amazon-ecr-credential-helper";
|
|
|
|
rev = "v${version}";
|
2022-01-20 11:27:54 +01:00
|
|
|
sha256 = "sha256-lkc8plWWmth8SjeWBCf1HTnCfg09QNIsN3xPePqnv6Y=";
|
2018-07-24 10:33:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Amazon ECR Docker Credential Helper is a credential helper for the Docker daemon that makes it easier to use Amazon Elastic Container Registry";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/awslabs/amazon-ecr-credential-helper";
|
2022-01-20 11:27:54 +01:00
|
|
|
license = licenses.asl20;
|
2018-07-24 10:33:58 +02:00
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
2022-04-01 21:34:55 +02:00
|
|
|
mainProgram = "docker-credential-ecr-login";
|
2018-07-24 10:33:58 +02:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|