1{ lib 2, buildPythonPackage 3, fetchPypi 4, cython 5, nose 6, pytest 7, numpy 8}: 9 10buildPythonPackage rec { 11 pname = "PyWavelets"; 12 version = "0.5.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "ce36e2f0648ea1781490b09515363f1f64446b0eac524603e5db5e180113bed9"; 17 }; 18 19 checkInputs = [ nose pytest ]; 20 21 buildInputs = [ cython ]; 22 23 propagatedBuildInputs = [ numpy ]; 24 25 # Somehow nosetests doesn't run the tests, so let's use pytest instead 26 checkPhase = '' 27 py.test pywt/tests 28 ''; 29 30 meta = { 31 description = "Wavelet transform module"; 32 homepage = https://github.com/PyWavelets/pywt; 33 license = lib.licenses.mit; 34 }; 35 36}