mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
fb05248dc9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-resampy/versions
39 lines
673 B
Nix
39 lines
673 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;
|
|
};
|
|
|
|
}
|