diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/sbc')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/sbc/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/sbc/default.nix b/nixpkgs/pkgs/development/libraries/sbc/default.nix new file mode 100644 index 000000000000..b9830b65ffb7 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/sbc/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, libsndfile }: + +stdenv.mkDerivation rec { + name = "sbc-1.4"; + + src = fetchurl { + url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz"; + sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ libsndfile ]; + + meta = with stdenv.lib; { + description = "SubBand Codec Library"; + homepage = http://www.bluez.org/; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ wkennington ]; + }; +} |