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

24 lines
589 B
Nix
Raw Normal View History

2016-09-18 19:50:38 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "distribution-${version}";
2017-04-05 02:01:27 +01:00
version = "2.6.0";
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-04-05 02:01:27 +01:00
sha256 = "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6";
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;
};
}