3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pydub/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

24 lines
576 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, scipy, ffmpeg-full }:
buildPythonPackage rec {
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;
};
}