diff --git a/pkgs/development/python-modules/pysptk/default.nix b/pkgs/development/python-modules/pysptk/default.nix new file mode 100644 index 000000000000..46864632964a --- /dev/null +++ b/pkgs/development/python-modules/pysptk/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage, fetchPypi +, numpy, scipy, cython, six, decorator +}: + +buildPythonPackage rec { + pname = "pysptk"; + version = "0.1.17"; + + src = fetchPypi { + inherit pname version; + sha256 = "aa8bd2ae84bfe72e9015ccb69eb3b687bc64fad6139ae0b327fe07918e1e28ff"; + }; + + PYSPTK_BUILD_VERSION = 0; + + nativeBuildInputs = [ + cython + ]; + + propagatedBuildInputs = [ + numpy + scipy + six + decorator + ]; + + # No tests in the PyPI tarball + doCheck = false; + + meta = with lib; { + description = "A python wrapper for Speech Signal Processing Toolkit (SPTK)"; + homepage = https://pysptk.readthedocs.io/en/latest/; + license = licenses.mit; + maintainers = with maintainers; [ hyphon81 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 60d93c9f0db7..9c240e36b88d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2340,6 +2340,8 @@ in { pyspf = callPackage ../development/python-modules/pyspf { }; + pysptk = callPackage ../development/python-modules/pysptk { }; + pysrim = callPackage ../development/python-modules/pysrim { }; pysrt = callPackage ../development/python-modules/pysrt { };