nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 cython,
5 decorator,
6 fetchPypi,
7 numpy,
8 scipy,
9 setuptools,
10 six,
11}:
12
13buildPythonPackage rec {
14 pname = "pysptk";
15 version = "1.0.1";
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-eLHJM4v3laQc3D/wP81GmcQBwyP1RjC7caGXEAeNCz8=";
21 };
22
23 PYSPTK_BUILD_VERSION = 0;
24
25 nativeBuildInputs = [ cython ];
26
27 propagatedBuildInputs = [
28 decorator
29 numpy
30 scipy
31 setuptools
32 six
33 ];
34
35 # Tests are not part of the PyPI releases
36 doCheck = false;
37
38 pythonImportsCheck = [ "pysptk" ];
39
40 meta = {
41 description = "Wrapper for Speech Signal Processing Toolkit (SPTK)";
42 homepage = "https://pysptk.readthedocs.io/";
43 license = lib.licenses.mit;
44 maintainers = [ ];
45 };
46}