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

39 lines
673 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
2019-03-05 00:41:24 +00:00
, fetchFromGitHub
, pytest
, pytestcov
, numpy
, scipy
, cython
2019-03-04 20:37:31 +00:00
, numba
, six
}:
buildPythonPackage rec {
pname = "resampy";
version = "0.2.2";
2019-03-05 00:41:24 +00:00
# No tests in PyPi Archive
src = fetchFromGitHub {
owner = "bmcfee";
repo = pname;
rev = version;
sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs";
};
checkInputs = [ pytest pytestcov ];
2019-03-04 20:37:31 +00:00
propagatedBuildInputs = [ numpy scipy cython numba six ];
2019-03-05 00:41:24 +00:00
checkPhase = ''
pytest tests
'';
meta = with stdenv.lib; {
homepage = https://github.com/bmcfee/resampy;
description = "Efficient signal resampling";
license = licenses.isc;
};
}