mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
gitlab-container-registry appears to build fine with this unpinned.
originally pinned in 72738526b5.
51 lines
1.2 KiB
Nix
51 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitLab,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gitlab-container-registry";
|
|
version = "4.41.0";
|
|
rev = "v${version}-gitlab";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitLab {
|
|
owner = "gitlab-org";
|
|
repo = "container-registry";
|
|
inherit rev;
|
|
hash = "sha256-i/bC+vZxm4jMFwVvtOUk+Q5IX25vYtr5x6Ejc3kqk/8=";
|
|
};
|
|
|
|
vendorHash = "sha256-AFJqc3Fdk6mYSacA2VWFY9TCl7DEcsL7VkpRodlwbxQ=";
|
|
|
|
excludedPackages = [
|
|
"devvm/*"
|
|
];
|
|
|
|
checkFlags =
|
|
let
|
|
skippedTests = [
|
|
# requires internet
|
|
"TestHTTPChecker"
|
|
# requires s3 credentials/urls
|
|
"TestS3DriverPathStyle"
|
|
# flaky
|
|
"TestPurgeAll"
|
|
];
|
|
in
|
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = {
|
|
description = "GitLab Docker toolset to pack, ship, store, and deliver content";
|
|
homepage = "https://gitlab.com/gitlab-org/container-registry";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ e1mo ];
|
|
teams = with lib.teams; [ gitlab ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "registry";
|
|
};
|
|
}
|