biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / version-management / gitlab / gitlab-container-registry / default.nix
blobc7f241aa0f426c8fd01b88cfba195ff67870e0e6
1 { lib, buildGoModule, fetchFromGitLab }:
3 buildGoModule rec {
4   pname = "gitlab-container-registry";
5   version = "3.92.0";
6   rev = "v${version}-gitlab";
8   # nixpkgs-update: no auto update
9   src = fetchFromGitLab {
10     owner = "gitlab-org";
11     repo = "container-registry";
12     inherit rev;
13     hash = "sha256-NHpqfqv3RCbWZilhXLGnQTN+ytzifAix6mcLk5Bw124=";
14   };
16   vendorHash = "sha256-KZWdM8Q8ipsgm7OoLyOuHo+4Vg2Nve+yZtTSUDgjOW4=";
18   patches = [
19     ./Disable-inmemory-storage-driver-test.patch
20   ];
22   postPatch = ''
23     substituteInPlace health/checks/checks_test.go \
24       --replace \
25         'func TestHTTPChecker(t *testing.T) {' \
26         'func TestHTTPChecker(t *testing.T) { t.Skip("Test requires network connection")'
27   '';
29   meta = with lib; {
30     description = "The GitLab Docker toolset to pack, ship, store, and deliver content";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ yayayayaka xanderio ];
33     platforms = platforms.unix;
34   };