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 
{
  tgcMaintainers,
  lib,
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
  openssl,
  ...
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "ferrosonic";
  version = "0.2.2";
  rev = "v${finalAttrs.version}";
  srcHash = "sha256-cqmu+PDWKnSHYzV6TOVFwDdHEHjsgalIveEhEK87fi8=";
  cargoHash = "sha256-vari4D3gHGYOOmVRQaEtmTkhT3E+fTnZgNZSQrnG0bc=";

  src = fetchFromGitHub {
    owner = "jaidaken";
    repo = finalAttrs.pname;
    hash = finalAttrs.srcHash;
    inherit (finalAttrs) rev;
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
  ];

  meta = {
    description = "A terminal-based Subsonic music client written in Rust, featuring bit-perfect audio playback, gapless transitions, and full desktop integration.";
    homepage = "https://github.com/jaidaken/ferrosonic";
    mainProgram = "anyrun";
    platforms = lib.platforms.linux;
    maintainers = [ tgcMaintainers.zaphyra ];
  };
})