mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge pull request #35117 from suvash/add-docker-credential-gcr
docker-credential-gcr: init at 1.4.3
This commit is contained in:
commit
040fb6c1a0
@ -670,6 +670,7 @@
|
||||
StillerHarpo = "Florian Engel <florianengel39@gmail.com>";
|
||||
stumoss = "Stuart Moss <samoss@gmail.com>";
|
||||
SuprDewd = "Bjarki Ágúst Guðmundsson <suprdewd@gmail.com>";
|
||||
suvash = "Suvash Thapaliya <suvash+nixpkgs@gmail.com>";
|
||||
swarren83 = "Shawn Warren <shawn.w.warren@gmail.com>";
|
||||
swflint = "Samuel W. Flint <swflint@flintfam.org>";
|
||||
swistak35 = "Rafał Łasocha <me@swistak35.com>";
|
||||
|
28
pkgs/tools/admin/docker-credential-gcr/default.nix
Normal file
28
pkgs/tools/admin/docker-credential-gcr/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "docker-credential-gcr-${version}";
|
||||
version = "1.4.3";
|
||||
|
||||
goPackagePath = "github.com/GoogleCloudPlatform/docker-credential-gcr";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "docker-credential-gcr";
|
||||
rev = "v${version}";
|
||||
sha256 = "1xb88xjyyrdmjcgfv7fqdkv1ip3dpzsdif5vm7vkqvn83s5wj5df";
|
||||
};
|
||||
|
||||
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 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -14871,6 +14871,8 @@ with pkgs;
|
||||
|
||||
docker-distribution = callPackage ../applications/virtualization/docker-distribution { };
|
||||
|
||||
docker-credential-gcr = callPackage ../tools/admin/docker-credential-gcr { };
|
||||
|
||||
doodle = callPackage ../applications/search/doodle { };
|
||||
|
||||
dr14_tmeter = callPackage ../applications/audio/dr14_tmeter { };
|
||||
|
Loading…
Reference in New Issue
Block a user