Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 673 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, pytest 5, pytestcov 6, numpy 7, scipy 8, cython 9, numba 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "resampy"; 15 version = "0.2.1"; 16 17 # No tests in PyPi Archive 18 src = fetchFromGitHub { 19 owner = "bmcfee"; 20 repo = pname; 21 rev = version; 22 sha256 = "0a2bxj042y62dimm2i4vglbhpwbybam07mcl67cb6pmfsw9fbqhj"; 23 }; 24 25 checkInputs = [ pytest pytestcov ]; 26 propagatedBuildInputs = [ numpy scipy cython numba six ]; 27 28 checkPhase = '' 29 pytest tests 30 ''; 31 32 meta = with stdenv.lib; { 33 homepage = https://github.com/bmcfee/resampy; 34 description = "Efficient signal resampling"; 35 license = licenses.isc; 36 }; 37 38}