summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydub/default.nix
blob: 5b5df40be6a40ab0da209acc2aaf191cd23c2fb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildPythonPackage, fetchPypi, scipy, ffmpeg-full }:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "pydub";
  version = "0.22.1";
  src = fetchPypi {
    inherit pname version;
    sha256 = "20beff39e9959a3b2cb4392802aecb9b2417837fff635d2b00b5ef5f5326d313";
  };

  patches = [
    ./pyaudioop-python3.patch
  ];

  checkInputs = [ scipy ffmpeg-full ];

  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;
  };
}