9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
565 B
Nix
23 lines
565 B
Nix
{ lib, stdenv, fetchurl, pkg-config, libsndfile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sbc";
|
|
version = "2.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-jxI2jh279V4UU2UgRzz7M4yEs5KTnMm2Qpg2D9SgeZI=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libsndfile ];
|
|
|
|
meta = with lib; {
|
|
description = "SubBand Codec Library";
|
|
homepage = "http://www.bluez.org/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|