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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
568 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-09-18 19:50:38 +01:00
buildGoPackage rec {
pname = "distribution";
2022-06-25 17:39:55 +01:00
version = "2.8.1";
2016-09-18 19:50:38 +01:00
rev = "v${version}";
goPackagePath = "github.com/docker/distribution";
src = fetchFromGitHub {
owner = "docker";
repo = "distribution";
inherit rev;
2022-06-25 17:39:55 +01:00
sha256 = "sha256-M8XVeIvD7LtWa9l+6ovwWu5IwFGYt0xDfcIwcU/KH/E=";
2016-09-18 19:50:38 +01:00
};
meta = with lib; {
2016-09-18 19:50:38 +01:00
description = "The Docker toolset to pack, ship, store, and deliver content";
license = licenses.asl20;
maintainers = [ maintainers.globin ];
platforms = platforms.unix;
};
}