pythonPackges.resampy: refactor move to python-modules
This commit is contained in:
parent
e9e5fd377e
commit
021b194680
33
pkgs/development/python-modules/resampy/default.nix
Normal file
33
pkgs/development/python-modules/resampy/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, pytestcov
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, cython
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "resampy";
|
||||||
|
version = "0.1.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "cf4f149d8699af70a1b4b0769fa16fab21835d936ea7ff25e98446aa49e743d4";
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3608,27 +3608,7 @@ in {
|
|||||||
|
|
||||||
isodate = callPackage ../development/python-modules/isodate { };
|
isodate = callPackage ../development/python-modules/isodate { };
|
||||||
|
|
||||||
resampy = buildPythonPackage rec {
|
resampy = callPackage ../development/python-modules/resampy { };
|
||||||
pname = "resampy";
|
|
||||||
version = "0.1.4";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "cf4f149d8699af70a1b4b0769fa16fab21835d936ea7ff25e98446aa49e743d4";
|
|
||||||
};
|
|
||||||
|
|
||||||
checkInputs = with self; [ pytest pytestcov ];
|
|
||||||
# No tests included
|
|
||||||
doCheck = false;
|
|
||||||
propagatedBuildInputs = with self; [ numpy scipy cython six ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/bmcfee/resampy;
|
|
||||||
description = "Efficient signal resampling";
|
|
||||||
license = licenses.isc;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user