Merge pull request #179746 from r-ryantm/auto-update/python3.10-resampy

python310Packages.resampy: 0.2.2 -> 0.3.0
This commit is contained in:
Fabian Affolter 2022-06-30 23:57:41 +02:00 committed by GitHub
commit 6d91af4475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,38 +1,52 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytest-cov
, numpy
, scipy
, cython
, fetchFromGitHub
, numba
, six
, numpy
, pytestCheckHook
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "resampy";
version = "0.2.2";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# No tests in PyPi Archive
src = fetchFromGitHub {
owner = "bmcfee";
repo = pname;
rev = version;
sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs";
rev = "refs/tags/${version}";
hash = "sha256-OVj5dQafIoKeA04yTGBKTinldMjEccxrdiuRFIvRzcE=";
};
checkInputs = [ pytest pytest-cov ];
propagatedBuildInputs = [ numpy scipy cython numba six ];
propagatedBuildInputs = [
numpy
cython
numba
];
checkPhase = ''
pytest tests
checkInputs = [
pytestCheckHook
scipy
];
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov-report term-missing --cov resampy --cov-report=xml" ""
'';
meta = with lib; {
homepage = "https://github.com/bmcfee/resampy";
description = "Efficient signal resampling";
license = licenses.isc;
};
pythonImportsCheck = [
"resampy"
];
meta = with lib; {
description = "Efficient signal resampling";
homepage = "https://github.com/bmcfee/resampy";
license = licenses.isc;
maintainers = with maintainers; [ ];
};
}