python310Packages.pysptk: add pythonImportsCheck
This commit is contained in:
parent
44e85d3d61
commit
2001193711
|
@ -1,16 +1,26 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage, fetchPypi
|
||||
, numpy, scipy, cython, six, decorator
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, decorator
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysptk";
|
||||
version = "0.1.21";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-AZUDI9AL57tXz7VzPGF9uEeKW4/6JsaBUiFkigl640Q=";
|
||||
hash = "sha256-AZUDI9AL57tXz7VzPGF9uEeKW4/6JsaBUiFkigl640Q=";
|
||||
};
|
||||
|
||||
PYSPTK_BUILD_VERSION = 0;
|
||||
|
@ -20,19 +30,23 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
decorator
|
||||
numpy
|
||||
scipy
|
||||
six
|
||||
decorator
|
||||
];
|
||||
|
||||
# No tests in the PyPI tarball
|
||||
# Tests are not part of the PyPI releases
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pysptk"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A python wrapper for Speech Signal Processing Toolkit (SPTK)";
|
||||
homepage = "https://pysptk.readthedocs.io/en/latest/";
|
||||
description = "Wrapper for Speech Signal Processing Toolkit (SPTK)";
|
||||
homepage = "https://pysptk.readthedocs.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hyphon81 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue