Files
nixpkgs/pkgs/by-name/gi/gitlab-container-registry/package.nix
whispers 30979faff4 gitlab-container-registry: buildGo125Module -> buildGoModule
gitlab-container-registry appears to build fine with this unpinned.
originally pinned in 72738526b5.
2026-08-27 15:15:29 -04:00

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";
};
}