1{ lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "distribution";
5 version = "2.7.1";
6 rev = "v${version}";
7
8 goPackagePath = "github.com/docker/distribution";
9
10 src = fetchFromGitHub {
11 owner = "docker";
12 repo = "distribution";
13 inherit rev;
14 sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
15 };
16
17 meta = with lib; {
18 description = "The Docker toolset to pack, ship, store, and deliver content";
19 license = licenses.asl20;
20 maintainers = [ maintainers.globin ];
21 platforms = platforms.unix;
22 };
23}