Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
856 B
Nix
40 lines
856 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "librespot-ma";
|
|
version = "0.6.0-unstable-2025-08-10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "music-assistant";
|
|
repo = "librespot";
|
|
rev = "accecb60a16334013c0c99a5ded553794ee871b7";
|
|
hash = "sha256-vPiI8llXB6+ahX+iad/Ut81D3iZcTSVmYGDXXwApk/w=";
|
|
};
|
|
|
|
cargoHash = "sha256-Lujz2revTAok9B0hzdl8NVQ5XMRY9ACJzoQHIkIgKMg=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
description = "Fork of librespot for use in Music Assistant only";
|
|
homepage = "https://github.com/music-assistant/librespot";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
sweenu
|
|
emilylange
|
|
];
|
|
mainProgram = "librespot";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|