mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
commit
6d91af4475
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user