2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "distribution";
|
|
|
|
version = "2.7.1";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/docker/distribution";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "docker";
|
|
|
|
repo = "distribution";
|
|
|
|
inherit rev;
|
|
|
|
sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The Docker toolset to pack, ship, store, and deliver content";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|