python3Packages.fast-array-utils: init at 1.2.1
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
dask,
|
||||
fetchFromGitHub,
|
||||
hatch-docstring-description,
|
||||
hatch-fancy-pypi-readme,
|
||||
hatch-min-requirements,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
lib,
|
||||
numba,
|
||||
numpy,
|
||||
pytest-codspeed,
|
||||
pytest-doctestplus,
|
||||
pytestCheckHook,
|
||||
scipy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fast-array-utils";
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scverse";
|
||||
repo = "fast-array-utils";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-SQaumXgjFn2+/MqllEs0zRnl2t7m2JZyOd+39vZPU2U=";
|
||||
};
|
||||
|
||||
# hatch-min-requirements tries to talk to PyPI by default. See https://github.com/tlambert03/hatch-min-requirements?tab=readme-ov-file#environment-variables.
|
||||
env.MIN_REQS_OFFLINE = "1";
|
||||
|
||||
build-system = [
|
||||
hatch-docstring-description
|
||||
hatch-fancy-pypi-readme
|
||||
hatch-min-requirements
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dask
|
||||
numba
|
||||
pytest-codspeed
|
||||
pytest-doctestplus
|
||||
pytestCheckHook
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fast_array_utils.conv"
|
||||
"fast_array_utils.types"
|
||||
"fast_array_utils.typing"
|
||||
"fast_array_utils"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fast array utilities";
|
||||
homepage = "https://icb-fast-array-utils.readthedocs-hosted.com";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
samuela
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4882,6 +4882,8 @@ self: super: with self; {
|
||||
|
||||
farama-notifications = callPackage ../development/python-modules/farama-notifications { };
|
||||
|
||||
fast-array-utils = callPackage ../development/python-modules/fast-array-utils { };
|
||||
|
||||
fast-histogram = callPackage ../development/python-modules/fast-histogram { };
|
||||
|
||||
fastai = callPackage ../development/python-modules/fastai { };
|
||||
|
||||
Reference in New Issue
Block a user