auto-update-daily-20260202
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gitmal";
9 version = "1.0.2";
10
11 src = fetchFromGitHub {
12 owner = "antonmedv";
13 repo = "gitmal";
14 rev = "v${version}";
15 hash = "sha256-RDXtB/fgyqL3b5e2BVK5si5pIcw/un3KJy1/cU0GMXo=";
16 };
17
18 vendorHash = "sha256-12kkN1rh9OWG8YIr9KyHtm1TFJQPUtSpD6ub8zokAhQ=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Static site generator for Git repositories";
27 longDescription = ''
28 Gitmal generates static HTML pages for Git repositories with features including:
29 - File browsing with syntax highlighting
30 - Commit history visualization
31 - Markdown rendering
32 - Customizable themes
33 '';
34 homepage = "https://github.com/antonmedv/gitmal";
35 changelog = "https://github.com/antonmedv/gitmal/releases/tag/v${version}";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ vdemeester ];
38 mainProgram = "gitmal";
39 };
40}