depot/third_party/nixpkgs/pkgs/development/libraries/sbc/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

21 lines
536 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libsndfile }:
stdenv.mkDerivation rec {
pname = "sbc";
version = "1.4";
src = fetchurl {
url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz";
sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsndfile ];
meta = with lib; {
description = "SubBand Codec Library";
homepage = "http://www.bluez.org/";
license = licenses.gpl2;
platforms = platforms.linux;
};
}