2020-12-05 09:28:11 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, cython
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyworld";
|
2021-06-18 22:47:35 +01:00
|
|
|
version = "0.3.0";
|
2020-12-05 09:28:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:35 +01:00
|
|
|
sha256 = "e19b5d8445e0c4fc45ded71863aeaaf2680064b4626b0e7c90f72e9ace9f6b5b";
|
2020-12-05 09:28:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyworld" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PyWorld is a Python wrapper for WORLD vocoder";
|
|
|
|
homepage = https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|