nixpkgs/pkgs/development/python-modules/pyaudio/default.nix
2022-07-20 21:34:47 +00:00

27 lines
478 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pkgs
}:
buildPythonPackage rec {
pname = "PyAudio";
version = "0.2.12";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Vd3123K8U3u6X128o6ufAiLuW4Qr2oOXjqsLe49g+54=";
};
buildInputs = [ pkgs.portaudio ];
meta = with lib; {
description = "Python bindings for PortAudio";
homepage = "https://people.csail.mit.edu/hubert/pyaudio/";
license = licenses.mit;
};
}