about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-03-10 14:36:25 +0100
committerYureka <yuka@yuka.dev>2023-03-10 14:36:25 +0100
commit7efee351ec94a016e516d9d38d82791ca2522598 (patch)
treedb99e3141d64b4bc8bd6a3f48bc8b2e3c4c277cd /pkgs/applications/version-management/gitlab/gitlab-pages/default.nix
parent975e73668fd4da354b84f3b59ef46bc4e75216c0 (diff)
parent2d4f4e9bdfdcc69ea19299150db5c26c7aa4e44a (diff)
Merge branch 'gitlab-pages' of github.com:talyz/nixpkgs into HEAD
Diffstat (limited to 'pkgs/applications/version-management/gitlab/gitlab-pages/default.nix')
-rw-r--r--pkgs/applications/version-management/gitlab/gitlab-pages/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix
new file mode 100644
index 0000000000000..bdd8c4c43f6fd
--- /dev/null
+++ b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix
@@ -0,0 +1,24 @@
+{ buildGoModule, lib, fetchFromGitLab }:
+
+buildGoModule rec {
+  pname = "gitlab-pages";
+  version = "15.7.3";
+
+  src = fetchFromGitLab {
+    owner = "gitlab-org";
+    repo = "gitlab-pages";
+    rev = "v${version}";
+    sha256 = "sha256-Aj6XQVIdulwx6mWivwYafR4yrWiNaDeyje3LFQzZPfU=";
+  };
+
+  vendorHash = "sha256-mGcIN9gDCFfr1MvBdfR26LAbrAE2RNivhXP7fCNMyBQ=";
+  subPackages = [ "." ];
+
+  meta = with lib; {
+    description = "Daemon used to serve static websites for GitLab users";
+    homepage = "https://gitlab.com/gitlab-org/gitlab-pages";
+    changelog = "https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v${version}/CHANGELOG.md";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ajs124 das_j ];
+  };
+}