2018-02-18 14:21:12 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "docker-credential-gcr";
|
2020-04-08 10:12:55 +01:00
|
|
|
version = "2.0.1";
|
2018-02-18 14:21:12 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/GoogleCloudPlatform/docker-credential-gcr";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleCloudPlatform";
|
|
|
|
repo = "docker-credential-gcr";
|
|
|
|
rev = "v${version}";
|
2020-04-08 10:12:55 +01:00
|
|
|
sha256 = "0zazbfjbwclkz848vsyb6zhn95gngwrdhivaiw0m9f8a9xm4bp9r";
|
2018-02-18 14:21:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/docker-credential-gcr";
|
2018-02-18 14:21:12 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ suvash ];
|
|
|
|
};
|
|
|
|
}
|