about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-06-06 16:49:53 +0200
committerGitHub <noreply@github.com>2022-06-06 16:49:53 +0200
commit9f16efef4b196eb4a98ce3388b77247e0b8d20a3 (patch)
tree38347d28cfc76877225dd9366ff0656a576d9005 /pkgs
parentd85ed9ea2ad1a5b9cf202c3808a2efb50f487904 (diff)
parent2001193711aa0eeef68dfb71d2e2e67fc040ffc9 (diff)
Merge pull request #176501 from r-ryantm/auto-update/python3.10-pysptk
python310Packages.pysptk: 0.1.20 -> 0.1.21
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pysptk/default.nix34
1 files changed, 24 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/pysptk/default.nix b/pkgs/development/python-modules/pysptk/default.nix
index a9333603057b0..e229648bc75da 100644
--- a/pkgs/development/python-modules/pysptk/default.nix
+++ b/pkgs/development/python-modules/pysptk/default.nix
@@ -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.20";
+  version = "0.1.21";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "29e8e6a76243f3be728d23450982bd9f916530634079252a490ba7182bef30ca";
+    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 ];
   };