Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
587 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchurl,
pkg-config,
libsndfile,
}:
stdenv.mkDerivation rec {
pname = "sbc";
version = "2.1";
src = fetchurl {
url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz";
sha256 = "sha256-QmYzyr18eYI2RDUW36gzW0fgBLDvN/8Qfgx+rTKZ/MI=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsndfile ];
meta = with lib; {
description = "SubBand Codec Library";
homepage = "https://www.bluez.org/";
license = licenses.gpl2;
platforms = platforms.linux;
};
}