1{ stdenv, buildPythonPackage, fetchPypi, scipy, ffmpeg-full }:
2
3buildPythonPackage rec {
4 name = "${pname}-${version}";
5 pname = "pydub";
6 version = "0.20.0";
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0hqsvvph6ks4kxj0m2q1xvl5bllqmpk78rlqpqhh79schl344xkv";
10 };
11
12 patches = [
13 ./pyaudioop-python3.patch
14 ];
15
16 checkInputs = [ scipy ffmpeg-full ];
17
18 meta = with stdenv.lib; {
19 description = "Manipulate audio with a simple and easy high level interface.";
20 homepage = "http://pydub.com/";
21 license = licenses.mit;
22 platforms = platforms.all;
23 };
24}