2018-10-26 17:18:47 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, cython
|
2019-03-04 20:37:31 +00:00
|
|
|
, numba
|
2018-10-26 17:18:47 +01:00
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "resampy";
|
2018-11-04 10:35:15 +00:00
|
|
|
version = "0.2.1";
|
2018-10-26 17:18:47 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:15 +00:00
|
|
|
sha256 = "7f6912ca2b746eb9bcdc05c52fcef088f0b7ba1ca6ee0b2d0a359d18fc57f8f8";
|
2018-10-26 17:18:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestcov ];
|
2019-03-04 20:37:31 +00:00
|
|
|
propagatedBuildInputs = [ numpy scipy cython numba six ];
|
2018-10-26 17:18:47 +01:00
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/bmcfee/resampy;
|
|
|
|
description = "Efficient signal resampling";
|
|
|
|
license = licenses.isc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|