2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-02-18 06:21:12 -08:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "docker-credential-gcr";
|
2021-02-13 16:28:59 -08:00
|
|
|
version = "2.0.4";
|
2018-02-18 06:21:12 -08:00
|
|
|
|
|
|
|
goPackagePath = "github.com/GoogleCloudPlatform/docker-credential-gcr";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleCloudPlatform";
|
|
|
|
repo = "docker-credential-gcr";
|
|
|
|
rev = "v${version}";
|
2021-02-13 16:28:59 -08:00
|
|
|
sha256 = "sha256-yG8gpsD1KZBSbJnnNTXgZah/mcrOUH1O37s7AGpeHjQ=";
|
2018-02-18 06:21:12 -08:00
|
|
|
};
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-02-18 06:21:12 -08:00
|
|
|
description = "A Docker credential helper for GCR (https://gcr.io) users";
|
|
|
|
longDescription = ''
|
|
|
|
docker-credential-gcr is Google Container Registry's Docker credential
|
|
|
|
helper. It allows for Docker clients v1.11+ to easily make
|
|
|
|
authenticated requests to GCR's repositories (gcr.io, eu.gcr.io, etc.).
|
|
|
|
'';
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/docker-credential-gcr";
|
2018-02-18 06:21:12 -08:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ suvash ];
|
|
|
|
};
|
|
|
|
}
|