depot/third_party/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix

25 lines
749 B
Nix
Raw Normal View History

{ buildGoModule, lib, fetchFromGitLab }:
buildGoModule rec {
pname = "gitlab-pages";
version = "16.1.3";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
sha256 = "sha256-FSdew0HMbgEAzVoDhINDIQQs8Q63AHu8mu/dKo+wP9k=";
};
vendorHash = "sha256-SN4r9hcTTQUr3miv2Cm7iBryyh7yG1xx9lCvq3vQwc0=";
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 ] ++ teams.gitlab.members;
};
}