1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytest 5, pytest-cov 6, numpy 7, scipy 8, cython 9, numba 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "resampy"; 15 version = "0.2.2"; 16 17 # No tests in PyPi Archive 18 src = fetchFromGitHub { 19 owner = "bmcfee"; 20 repo = pname; 21 rev = version; 22 sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs"; 23 }; 24 25 checkInputs = [ pytest pytest-cov ]; 26 propagatedBuildInputs = [ numpy scipy cython numba six ]; 27 28 checkPhase = '' 29 pytest tests 30 ''; 31 32 meta = with lib; { 33 homepage = "https://github.com/bmcfee/resampy"; 34 description = "Efficient signal resampling"; 35 license = licenses.isc; 36 }; 37 38}