nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, lib
3, buildPythonPackage, fetchPypi
4, numpy, scipy, cython, six, decorator
5}:
6
7buildPythonPackage rec {
8 pname = "pysptk";
9 version = "0.1.20";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "29e8e6a76243f3be728d23450982bd9f916530634079252a490ba7182bef30ca";
14 };
15
16 PYSPTK_BUILD_VERSION = 0;
17
18 nativeBuildInputs = [
19 cython
20 ];
21
22 propagatedBuildInputs = [
23 numpy
24 scipy
25 six
26 decorator
27 ];
28
29 # No tests in the PyPI tarball
30 doCheck = false;
31
32 meta = with lib; {
33 broken = stdenv.isDarwin;
34 description = "A python wrapper for Speech Signal Processing Toolkit (SPTK)";
35 homepage = "https://pysptk.readthedocs.io/en/latest/";
36 license = licenses.mit;
37 maintainers = with maintainers; [ hyphon81 ];
38 };
39}