about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyaudio/default.nix
blob: d9d4aa7b70e7379c947d58326b74369502bfa880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pkgs
}:

buildPythonPackage rec {
  pname = "pyaudio";
  version = "0.2.14";
  disabled = isPyPy;

  src = fetchPypi {
    pname = "PyAudio";
    inherit version;
    hash = "sha256-eN//OHm0mU0fT8ZIVkald1XG7jwZZHpJH3kKCJW9L4c=";
  };

  buildInputs = [ pkgs.portaudio ];

  meta = with lib; {
    description = "Python bindings for PortAudio";
    homepage = "https://people.csail.mit.edu/hubert/pyaudio/";
    license = licenses.mit;
  };

}