summary refs log tree commit diff stats
path: root/overlays/htmlformat/htmlformat.nix
blob: aa124ee53d46ff332c1db5a752a1a05a27501c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "htmlformat";
  version = "unstable-2023-11-08";

  src = fetchFromGitHub {
    owner = "a-h";
    repo = "htmlformat";
    rev = "5bd994fe268e4d505a9793143fa85414c7d50887";
    hash = "sha256-YSl9GsXhc0L2oKGZLwwjUtpe5W6ra6kk74zvQdsDCMU=";
  };

  vendorHash = "sha256-uVfh1pPhfj6AyQDqFd1EDWshuyDRvbMDZj3SN5tCS2w=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Htmlformat";
    homepage = "https://github.com/a-h/htmlformat";
    license = licenses.mit;
    maintainers = with maintainers; [ alanpearce ];
    mainProgram = "htmlformat";
  };
}