depot/third_party/nixpkgs/pkgs/development/python-modules/resampy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
675 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestcov
, numpy
, scipy
, cython
, numba
, six
}:
buildPythonPackage rec {
pname = "resampy";
version = "0.2.2";
# No tests in PyPi Archive
src = fetchFromGitHub {
owner = "bmcfee";
repo = pname;
rev = version;
sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs";
};
checkInputs = [ pytest pytestcov ];
propagatedBuildInputs = [ numpy scipy cython numba six ];
checkPhase = ''
pytest tests
'';
meta = with stdenv.lib; {
homepage = "https://github.com/bmcfee/resampy";
description = "Efficient signal resampling";
license = licenses.isc;
};
}