python.pkgs.pywavelets: init at 0.5.2

This commit is contained in:
Frederik Rietdijk 2018-07-20 07:38:08 +02:00
parent 9146271578
commit 9768a80726
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, cython
, nose
, pytest
, numpy
}:
buildPythonPackage rec {
pname = "PyWavelets";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "ce36e2f0648ea1781490b09515363f1f64446b0eac524603e5db5e180113bed9";
};
checkInputs = [ nose pytest ];
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
# Somehow nosetests doesn't run the tests, so let's use pytest instead
checkPhase = ''
py.test pywt/tests
'';
meta = {
description = "Wavelet transform module";
homepage = https://github.com/PyWavelets/pywt;
license = lib.licenses.mit;
};
}

View File

@ -4568,6 +4568,8 @@ in {
};
pywavelets = callPackage ../development/python-modules/pywavelets { };
zope_deprecation = buildPythonPackage rec {
name = "zope.deprecation-4.1.2";