nixpkgs/pkgs/development/python-modules/resampy/default.nix
2019-03-04 21:37:31 +01:00

34 lines
612 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, numpy
, scipy
, cython
, numba
, six
}:
buildPythonPackage rec {
pname = "resampy";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "7f6912ca2b746eb9bcdc05c52fcef088f0b7ba1ca6ee0b2d0a359d18fc57f8f8";
};
checkInputs = [ pytest pytestcov ];
propagatedBuildInputs = [ numpy scipy cython numba six ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/bmcfee/resampy;
description = "Efficient signal resampling";
license = licenses.isc;
};
}