summary refs log tree commit diff
path: root/pkgs/development/python-modules/pysptk/default.nix
blob: 46864632964ae0e7d603026d8507560f3574314d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
  };
}