summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-10-11 23:50:19 +0200
committerGitHub <noreply@github.com>2020-10-11 23:50:19 +0200
commita6fec75d0472670448b9708e1619fef2c36af9d5 (patch)
tree591a4d050b48e8033271171a88be203efad46ce0 /pkgs/servers/http
parenta1cb02148bf9611136b1c939ec46eaf2ac3e8d8a (diff)
parentd85f50b71fa58651bbc7baef3fcc29a4a271eef3 (diff)
Merge pull request #93426 from helsinki-systems/feat/gitlab-pages
nixos/gitlab: Support pages
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/gitlab-pages/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/http/gitlab-pages/default.nix b/pkgs/servers/http/gitlab-pages/default.nix
new file mode 100644
index 000000000000..441dba9fb7b5
--- /dev/null
+++ b/pkgs/servers/http/gitlab-pages/default.nix
@@ -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 ];
+ };
+}