{ stdenv, buildPythonPackage, fetchFromGitHub, scipy, ffmpeg-full }: buildPythonPackage rec { pname = "pydub"; version = "0.22.1"; # pypi version doesn't include required data files for tests src = fetchFromGitHub { owner = "jiaaro"; repo = pname; rev = "v${version}"; sha256 = "0xqyvzgdfy01p98wnvsrf6iwdfq91ad377r6j12r8svm13ygx5bv"; }; checkInputs = [ scipy ffmpeg-full ]; checkPhase = '' python test/test.py ''; meta = with stdenv.lib; { description = "Manipulate audio with a simple and easy high level interface."; homepage = "http://pydub.com/"; license = licenses.mit; platforms = platforms.all; }; }