nixpkgs-suyu/pkgs/tools/admin/docker-credential-gcr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
909 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "docker-credential-gcr";
2021-07-20 03:57:39 +02:00
version = "2.0.5";
goPackagePath = "github.com/GoogleCloudPlatform/docker-credential-gcr";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "docker-credential-gcr";
rev = "v${version}";
2021-07-20 03:57:39 +02:00
sha256 = "sha256-WrcGTXy5SMWDHJWddXUuvUvEWjOsJcoB1zBg02p5ggY=";
};
meta = with 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 ];
};
}