zaphyra's git: tgcNUR

fork of https://git.transgirl.cafe/zaphoid/tgc-nix-user-repository

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 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
{
  tgcMaintainers,
  lib,
  buildGoModule,
  fetchFromGitHub,
  pkg-config,
  alsa-lib,
  ffmpeg,
  opusfile,
  libogg,
}:

buildGoModule (finalAttrs: {
  pname = "sendspin-go";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "Sendspin";
    repo = "sendspin-go";
    hash = "sha256-ucMahdBif18xlhudpNEa/n8SFRrakosLilDsiGJ1xm8=";
    rev = "v${finalAttrs.version}";
  };

  vendorHash = "sha256-l1fHIkyZ513wroyB4Lsn76r+WzijG2ahKVid5ujkTyA=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    alsa-lib
    ffmpeg
    opusfile
    libogg
  ];

  doCheck = false;

  meta = {
    homepage = "https://github.com/Sendspin/sendspin-go";
    description = "A complete Sendspin Protocol implementation in Go, featuring both server and player components for synchronized multi-room audio streaming.";
    license = lib.licenses.asl20;
    maintainers = [ tgcMaintainers.zaphyra ];
    mainProgram = "resonate-go";
  };
})