nixpkgs/pkgs/development/python-modules/pyworld/default.nix
2023-01-05 01:10:25 +01:00

34 lines
619 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, cython
}:
buildPythonPackage rec {
pname = "pyworld";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Zo0JhCw8+nSx9u2r2wBYpkwE+c8XuTiD5tqBHhIErU0=";
};
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 ];
};
}