about summary refs log tree commit diff
path: root/pkgs/applications/virtualization/docker/distribution.nix
blob: 1a22aa0fafbffef0e610fdf262d2596c235eda5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "distribution";
  version = "2.8.3";
  rev = "v${version}";

  goPackagePath = "github.com/docker/distribution";

  src = fetchFromGitHub {
    owner = "docker";
    repo = "distribution";
    inherit rev;
    sha256 = "sha256-6/clOTkI1JnDjb+crcHmjbQlaqffP/sntGqUB2ftajU=";
  };

  meta = with lib; {
    description = "Docker toolset to pack, ship, store, and deliver content";
    license = licenses.asl20;
    maintainers = [];
    platforms = platforms.unix;
  };
}