11 pname = "docker-credential-gcr";
14 src = fetchFromGitHub {
15 owner = "GoogleCloudPlatform";
16 repo = "docker-credential-gcr";
17 rev = "refs/tags/v${version}";
18 hash = "sha256-BnYh+MFTj76AWf0GfjzjQ/g/ACgCOLOLVfCSPssvfUY=";
25 vendorHash = "sha256-VsJ5OI8D1u9qZqtirYf682+z0wLJr/vAxRLHAEGwKSY=";
32 "-X github.com/GoogleCloudPlatform/docker-credential-gcr/v2/config.Version=${version}"
36 tests.version = testers.testVersion {
37 package = docker-credential-gcr;
38 command = "docker-credential-gcr version";
40 updateScript = nix-update-script { };
43 __darwinAllowLocalNetworking = true;
46 description = "Docker credential helper for GCR (https://gcr.io) users";
48 docker-credential-gcr is Google Container Registry's Docker credential
49 helper. It allows for Docker clients v1.11+ to easily make
50 authenticated requests to GCR's repositories (gcr.io, eu.gcr.io, etc.).
52 homepage = "https://github.com/GoogleCloudPlatform/docker-credential-gcr";
53 changelog = "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/tag/v${version}";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ suvash anthonyroussel ];
56 mainProgram = "docker-credential-gcr";