Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / sbc / default.nix
blob7cdd3072c56c2b2ef9118ec59db1cd3d8e19b537
1 { lib, stdenv, fetchurl, pkg-config, libsndfile }:
3 stdenv.mkDerivation rec {
4   pname = "sbc";
5   version = "2.0";
7   src = fetchurl {
8     url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz";
9     sha256 = "sha256-jxI2jh279V4UU2UgRzz7M4yEs5KTnMm2Qpg2D9SgeZI=";
10   };
12   outputs = [ "out" "dev" ];
14   nativeBuildInputs = [ pkg-config ];
15   buildInputs = [ libsndfile ];
17   meta = with lib; {
18     description = "SubBand Codec Library";
19     homepage = "http://www.bluez.org/";
20     license = licenses.gpl2;
21     platforms = platforms.linux;
22   };