nixpkgs/pkgs/by-name/di/distribution/package.nix

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

53 lines
1.5 KiB
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
testers,
distribution,
}:
2016-09-18 18:50:38 +00:00
buildGoModule rec {
pname = "distribution";
version = "3.0.0-rc.1";
2016-09-18 18:50:38 +00:00
src = fetchFromGitHub {
owner = "distribution";
2016-09-18 18:50:38 +00:00
repo = "distribution";
rev = "v${version}";
hash = "sha256-dfy3P8zAFlni2heQcz61+sjivHE97Syh/ICreTgxUAM=";
2016-09-18 18:50:38 +00:00
};
vendorHash = null;
checkFlags = [
# TestHTTPChecker: requires internet access.
# TestInMemoryDriverSuite: timeout after 10 minutes, looks like a deadlock.
"-skip=^TestHTTPChecker$|^TestInMemoryDriverSuite$"
];
2023-12-26 15:24:29 +00:00
passthru = {
tests.version = testers.testVersion {
package = distribution;
version = "v${version}";
};
2023-12-26 15:29:57 +00:00
updateScript = nix-update-script { };
2023-12-26 15:24:29 +00:00
};
meta = with lib; {
description = "Toolkit to pack, ship, store, and deliver container content";
longDescription = ''
Distribution is a Open Source Registry implementation for storing and distributing container
images and other content using the OCI Distribution Specification. The goal of this project
is to provide a simple, secure, and scalable base for building a large scale registry solution
or running a simple private registry.
'';
homepage = "https://distribution.github.io/distribution/";
changelog = "https://github.com/distribution/distribution/releases/tag/v${version}";
2016-09-18 18:50:38 +00:00
license = licenses.asl20;
maintainers = [ ];
mainProgram = "registry";
2016-09-18 18:50:38 +00:00
platforms = platforms.unix;
};
}