]> git.giacomolli.uk - onechat/blob - nix/package.nix
Escape tags in rich replies as HTML entities
[onechat] / nix / package.nix
1 {
2 lib,
3 buildGoModule,
4 src,
5 }:
6 buildGoModule {
7 pname = "onechat";
8 version = "0.1.0";
9 inherit src;
10
11 subPackages = [ "." ];
12 vendorHash = "sha256-Mpw1XigL2ARm8oTKwutBLHxdLChSfK1ZbGRaNww8jkk=";
13
14 doInstallCheck = true;
15 installCheckPhase = ''
16 runHook preInstallCheck
17 test "$("$out/bin/onechat")" = onechat
18 runHook postInstallCheck
19 '';
20
21 meta = {
22 description = "OneChat";
23 mainProgram = "onechat";
24 platforms = lib.platforms.linux;
25 };
26 }