nixos/gitlab: Support pages

Fixes #84525
This commit is contained in:
Janne Heß
2020-07-18 17:46:13 +02:00
parent a72822c23f
commit d85f50b71f
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ buildGoModule, lib, fetchFromGitLab }:
buildGoModule rec {
pname = "gitlab-pages";
version = "1.21.0";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
sha256 = "0f317lx4iarlsbnq2ipcm4lpx66xzl8wfilj8xajq1csz19ws24z";
};
vendorSha256 = "186rxvl523n1d87jz4zzbj83ikzw9d0c1wrj78xs4iqzm8z3snh0";
subPackages = [ "." ];
doCheck = false; # Broken
meta = with lib; {
description = "Daemon used to serve static websites for GitLab users";
homepage = "https://gitlab.com/gitlab-org/gitlab-pages";
license = licenses.mit;
maintainers = with maintainers; [ das_j ];
};
}