This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

5pkgs.parley: init at 0.5.0-unstable-2026-09-27

+53
+53
5pkgs/parley/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitea, 5 + go_1_27, 6 + }: 7 + 8 + # go.mod requires go 1.27; nixpkgs' default go is still 1.26. 9 + (buildGoModule.override { go = go_1_27; }) ( 10 + finalAttrs: 11 + let 12 + rev = "52118a9e2475bd3f8c4d62e3032eaf821a9a239d"; 13 + in 14 + { 15 + pname = "parley"; 16 + version = "0.5.0-unstable-2026-09-27"; 17 + 18 + src = fetchFromGitea { 19 + domain = "git.mills.io"; 20 + owner = "prologic"; 21 + repo = "parley"; 22 + inherit rev; 23 + hash = "sha256-bFeX5Nd8IvtY6Di+YUCZtclGkV2bTdIxTWpivCtRqLM="; 24 + }; 25 + 26 + vendorHash = "sha256-siSavE8i/Rh6LfI+HXhyKsPrbfyncJCcEYJsA4KZ378="; 27 + 28 + # modernc.org/sqlite is pure Go; upstream builds static binaries. 29 + env.CGO_ENABLED = 0; 30 + 31 + # The generated templ components and the compiled stylesheet are 32 + # committed upstream, so neither templ nor tailwind is needed here. 33 + subPackages = [ 34 + "cmd/parleyd" 35 + "cmd/parleyctl" 36 + ]; 37 + 38 + ldflags = [ 39 + "-s" 40 + "-w" 41 + "-X main.Version=${finalAttrs.version}" 42 + "-X main.Commit=${builtins.substring 0 7 rev}" 43 + ]; 44 + 45 + meta = { 46 + description = "Federated, decentralised chat that speaks plain IRC"; 47 + homepage = "https://git.mills.io/prologic/parley"; 48 + license = lib.licenses.mit; 49 + mainProgram = "parleyd"; 50 + platforms = lib.platforms.unix; 51 + }; 52 + } 53 + )