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