git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #62234 from hyphon81/add/pysptk-add

pythonPackages.pysptk: init at 0.1.16

commit1ec32bda1abf5533a341c5eb60489e70a0b23a96 authorMario Rodas <marsam@users.noreply.github.com> dateFri 31 May 2019, 01:02 (7 years ago) parent25f7291ec157e2
2 files changed+39
pkgs/development/python-modules/pysptk/default.nix+37 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pysptk/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, buildPythonPackage, fetchPypi
3+, numpy, scipy, cython, six, decorator
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "pysptk";
8+ version = "0.1.17";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "aa8bd2ae84bfe72e9015ccb69eb3b687bc64fad6139ae0b327fe07918e1e28ff";
13+ };
14+
15+ PYSPTK_BUILD_VERSION = 0;
16+
17+ nativeBuildInputs = [
18+ cython
19+ ];
20+
21+ propagatedBuildInputs = [
22+ numpy
23+ scipy
24+ six
25+ decorator
26+ ];
27+
28+ # No tests in the PyPI tarball
29+ doCheck = false;
30+
31+ meta = with lib; {
32+ description = "A python wrapper for Speech Signal Processing Toolkit (SPTK)";
33+ homepage = https://pysptk.readthedocs.io/en/latest/;
34+ license = licenses.mit;
35+ maintainers = with maintainers; [ hyphon81 ];
36+ };
37+}
pkgs/top-level/python-packages.nix+2
@@ -2340,6 +2340,8 @@ in {
23402340
23412341 pyspf = callPackage ../development/python-modules/pyspf { };
23422342
2343+ pysptk = callPackage ../development/python-modules/pysptk { };
2344+
23432345 pysrim = callPackage ../development/python-modules/pysrim { };
23442346
23452347 pysrt = callPackage ../development/python-modules/pysrt { };