Merge pull request #56844 from knedlsepp/fix-resampy
pythonPackages.resampy: Fix build
This commit is contained in:
commit
dcd3a105a0
@ -1,11 +1,12 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytest
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, cython
|
, cython
|
||||||
|
, numba
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,16 +14,20 @@ buildPythonPackage rec {
|
|||||||
pname = "resampy";
|
pname = "resampy";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
# No tests in PyPi Archive
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "7f6912ca2b746eb9bcdc05c52fcef088f0b7ba1ca6ee0b2d0a359d18fc57f8f8";
|
owner = "bmcfee";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0a2bxj042y62dimm2i4vglbhpwbybam07mcl67cb6pmfsw9fbqhj";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytestcov ];
|
checkInputs = [ pytest pytestcov ];
|
||||||
propagatedBuildInputs = [ numpy scipy cython six ];
|
propagatedBuildInputs = [ numpy scipy cython numba six ];
|
||||||
|
|
||||||
# No tests included
|
checkPhase = ''
|
||||||
doCheck = false;
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/bmcfee/resampy;
|
homepage = https://github.com/bmcfee/resampy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user