commit e1c0d02cb0ceeb6781cffc77f25441c68e4fdf57
parent d494faa9788a854326bc78772481907c2cdec26a
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Sat, 21 Feb 2026 12:43:17 +0100
parent d494faa9788a854326bc78772481907c2cdec26a
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Sat, 21 Feb 2026 12:43:17 +0100
packages: add `ferrosonic`
1 file changed, 40 insertions(+), 0 deletions(-)
diff --git a/packages/ferrosonic/package.nix b/packages/ferrosonic/package.nix @@ -0,0 +1,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 ]; + }; +})