12 buildPythonPackage rec {
14 version = "0.10.3.post1";
19 sha256 = "0yqhrfz7xkvqrwdxdx2ydy4h467sk7z3gf984y1x2cq7cm1gy329";
22 checkInputs = [ pytest ];
23 propagatedBuildInputs = [ numpy libsndfile cffi ];
26 description = "An audio library based on libsndfile, CFFI and NumPy";
27 license = lib.licenses.bsd3;
28 homepage = "https://github.com/bastibe/PySoundFile";
29 maintainers = with lib.maintainers; [ fridh ];
33 substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
36 # https://github.com/bastibe/PySoundFile/issues/157
37 disabled = isPyPy || stdenv.isi686;