nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 585 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 libsndfile, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "sbc"; 11 version = "2.1"; 12 13 src = fetchurl { 14 url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz"; 15 sha256 = "sha256-QmYzyr18eYI2RDUW36gzW0fgBLDvN/8Qfgx+rTKZ/MI="; 16 }; 17 18 outputs = [ 19 "out" 20 "dev" 21 ]; 22 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ libsndfile ]; 25 26 meta = { 27 description = "SubBand Codec Library"; 28 homepage = "https://www.bluez.org/"; 29 license = lib.licenses.gpl2; 30 platforms = lib.platforms.linux; 31 }; 32}