13 buildPythonPackage rec {
18 src = fetchFromGitHub {
20 repo = "python-wavefile";
21 rev = "refs/tags/python-wavefile-${version}";
22 hash = "sha256-TLSWhLARY+3sHkl2p3d3LDGzLu6DggjTJWFpyrwRXSI=";
25 nativeBuildInputs = [ setuptools ];
32 propagatedBuildInputs = [ numpy ];
42 # OSError: libsndfile.so.1: cannot open shared object file: No such file or directory
44 src = ./libsndfile.py.patch;
45 libsndfile = "${lib.getLib libsndfile}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}";
49 doCheck = false; # all test files (test/wavefileTest.py) are failing
51 pythonImportsCheck = [ "wavefile" ];
54 description = "Pythonic libsndfile wrapper to read and write audio files";
55 homepage = "https://github.com/vokimon/python-wavefile";
56 changelog = "https://github.com/vokimon/python-wavefile#version-history";
57 maintainers = with maintainers; [ yuu ];
58 license = licenses.gpl3Plus;