3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pywavelets/default.nix

36 lines
650 B
Nix
Raw Normal View History

2018-07-20 06:38:08 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, cython
, nose
, pytest
, numpy
}:
buildPythonPackage rec {
pname = "PyWavelets";
2019-10-24 07:47:46 +01:00
version = "1.1.1";
2018-07-20 06:38:08 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:46 +01:00
sha256 = "1a64b40f6acb4ffbaccce0545d7fc641744f95351f62e4c6aaa40549326008c9";
2018-07-20 06:38:08 +01:00
};
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;
};
}