2016-09-18 19:50:38 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "distribution";
|
2017-08-28 11:53:38 +01:00
|
|
|
version = "2.6.2";
|
2016-09-18 19:50:38 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/docker/distribution";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "docker";
|
|
|
|
repo = "distribution";
|
|
|
|
inherit rev;
|
2017-08-28 11:53:38 +01:00
|
|
|
sha256 = "0nj4xd72mik4pj8g065cqb0yjmgpj5ppsqf2k5ibz9f68c39c00b";
|
2016-09-18 19:50:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Docker toolset to pack, ship, store, and deliver content";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|