mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:25:38 +00:00
34 lines
598 B
Nix
34 lines
598 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, pytestcov
|
|
, numpy
|
|
, scipy
|
|
, cython
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "resampy";
|
|
version = "0.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7f6912ca2b746eb9bcdc05c52fcef088f0b7ba1ca6ee0b2d0a359d18fc57f8f8";
|
|
};
|
|
|
|
checkInputs = [ pytest pytestcov ];
|
|
propagatedBuildInputs = [ numpy scipy cython six ];
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/bmcfee/resampy;
|
|
description = "Efficient signal resampling";
|
|
license = licenses.isc;
|
|
};
|
|
|
|
}
|