2018-10-26 03:00:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPyPy
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-04-24 06:05:00 +01:00
|
|
|
pname = "PyAudio";
|
2019-04-24 06:12:00 +01:00
|
|
|
version = "0.2.11";
|
2018-10-26 03:00:36 +01:00
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-24 06:12:00 +01:00
|
|
|
sha256 = "93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74";
|
2018-10-26 03:00:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.portaudio ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python bindings for PortAudio";
|
2019-04-24 06:12:00 +01:00
|
|
|
homepage = https://people.csail.mit.edu/hubert/pyaudio/;
|
2018-10-26 03:00:36 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|