1 { lib, buildGoModule, fetchFromGitLab }:
4 pname = "gitlab-container-registry";
6 rev = "v${version}-gitlab";
8 # nixpkgs-update: no auto update
9 src = fetchFromGitLab {
11 repo = "container-registry";
13 hash = "sha256-NHpqfqv3RCbWZilhXLGnQTN+ytzifAix6mcLk5Bw124=";
16 vendorHash = "sha256-KZWdM8Q8ipsgm7OoLyOuHo+4Vg2Nve+yZtTSUDgjOW4=";
19 ./Disable-inmemory-storage-driver-test.patch
23 substituteInPlace health/checks/checks_test.go \
25 'func TestHTTPChecker(t *testing.T) {' \
26 'func TestHTTPChecker(t *testing.T) { t.Skip("Test requires network connection")'
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;