nixpkgs/pkgs/development/python-modules/pyaudio/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
476 B
Nix

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