2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 03:00:36 +01:00
|
|
|
, 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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 03:00:36 +01:00
|
|
|
description = "Python bindings for PortAudio";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://people.csail.mit.edu/hubert/pyaudio/";
|
2018-10-26 03:00:36 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|