nixpkgs-suyu/pkgs/development/python-modules/pydub/default.nix

25 lines
608 B
Nix
Raw Normal View History

2017-09-14 08:40:37 +02:00
{ stdenv, buildPythonPackage, fetchPypi, scipy, ffmpeg-full }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pydub";
2018-06-12 18:47:05 +02:00
version = "0.22.0";
2017-09-14 08:40:37 +02:00
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:05 +02:00
sha256 = "91192b94a28121cccd64bfaef1d12da59f3a69a5f4c35f67d428bfc395f390b5";
2017-09-14 08:40:37 +02:00
};
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;
};
}