2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-09-18 18:50:38 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "distribution";
|
2019-12-03 12:49:03 +00:00
|
|
|
version = "2.7.1";
|
2016-09-18 18:50:38 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/docker/distribution";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "docker";
|
|
|
|
repo = "distribution";
|
|
|
|
inherit rev;
|
2019-12-03 12:49:03 +00:00
|
|
|
sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
|
2016-09-18 18:50:38 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 18:50:38 +00:00
|
|
|
description = "The Docker toolset to pack, ship, store, and deliver content";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|