My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/tools/admin/docker-credential-gcr/default.nix

28 lines
920 B

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "docker-credential-gcr";
version = "2.0.2";
goPackagePath = "github.com/GoogleCloudPlatform/docker-credential-gcr";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "docker-credential-gcr";
rev = "v${version}";
sha256 = "0m7jx669yf27z2g9gw9vwncpwldrcb3ldlf1xhvbwbijnc2jk866";
};
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.).
'';
homepage = "https://github.com/GoogleCloudPlatform/docker-credential-gcr";
license = licenses.asl20;
maintainers = with maintainers; [ suvash ];
};
}