nixpkgs/pkgs/applications/virtualization/docker/distribution.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
579 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "distribution";
version = "2.6.2";
rev = "v${version}";
goPackagePath = "github.com/docker/distribution";
src = fetchFromGitHub {
owner = "docker";
repo = "distribution";
inherit rev;
sha256 = "0nj4xd72mik4pj8g065cqb0yjmgpj5ppsqf2k5ibz9f68c39c00b";
};
meta = with stdenv.lib; {
description = "The Docker toolset to pack, ship, store, and deliver content";
license = licenses.asl20;
maintainers = [ maintainers.globin ];
platforms = platforms.unix;
};
}