ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
26 lines
491 B
Nix
26 lines
491 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPyPy
|
|
, pkgs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyAudio";
|
|
version = "0.2.11";
|
|
disabled = isPyPy;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74";
|
|
};
|
|
|
|
buildInputs = [ pkgs.portaudio ];
|
|
|
|
meta = with lib; {
|
|
description = "Python bindings for PortAudio";
|
|
homepage = "https://people.csail.mit.edu/hubert/pyaudio/";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|