nixpkgs/pkgs/development/python-modules/pyaudio/default.nix
2020-04-10 17:54:53 +01:00

27 lines
501 B
Nix

{ stdenv
, 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 stdenv.lib; {
description = "Python bindings for PortAudio";
homepage = "https://people.csail.mit.edu/hubert/pyaudio/";
license = licenses.mit;
};
}