nixpkgs-suyu/pkgs/applications/virtualization/docker/distribution.nix

24 lines
579 B
Nix
Raw Normal View History

2016-09-18 20:50:38 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "distribution";
2019-12-03 13:49:03 +01:00
version = "2.7.1";
2016-09-18 20:50:38 +02:00
rev = "v${version}";
goPackagePath = "github.com/docker/distribution";
src = fetchFromGitHub {
owner = "docker";
repo = "distribution";
inherit rev;
2019-12-03 13:49:03 +01:00
sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
2016-09-18 20:50:38 +02: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;
};
}