docker-credential-gcr: add passthru.updateScript
This commit is contained in:
parent
a076e82dde
commit
ba4ee66798
|
@ -1,4 +1,11 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, testers, docker-credential-gcr }:
|
{
|
||||||
|
buildGoModule,
|
||||||
|
docker-credential-gcr,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lib,
|
||||||
|
nix-update-script,
|
||||||
|
testers,
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "docker-credential-gcr";
|
pname = "docker-credential-gcr";
|
||||||
|
@ -33,9 +40,12 @@ buildGoModule rec {
|
||||||
"-X github.com/GoogleCloudPlatform/docker-credential-gcr/config.Version=${version}"
|
"-X github.com/GoogleCloudPlatform/docker-credential-gcr/config.Version=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru = {
|
||||||
package = docker-credential-gcr;
|
tests.version = testers.testVersion {
|
||||||
command = "docker-credential-gcr version";
|
package = docker-credential-gcr;
|
||||||
|
command = "docker-credential-gcr version";
|
||||||
|
};
|
||||||
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user