nixpkgs/pkgs/development/python-modules/dask-awkward/default.nix
Martin Weinelt 8056f9250c
treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
2023-12-20 20:16:39 +01:00

67 lines
1.2 KiB
Nix

{ lib
, awkward
, buildPythonPackage
, dask
, fetchFromGitHub
, hatch-vcs
, hatchling
, pyarrow
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "dask-awkward";
version = "2023.12.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "dask-contrib";
repo = "dask-awkward";
rev = "refs/tags/${version}";
hash = "sha256-MfZ3mdCCShD/rcqHx7xyujXax5t96RQI1e2Ckyif9e4=";
};
pythonRelaxDeps = [
"awkward"
];
nativeBuildInputs = [
hatch-vcs
hatchling
pythonRelaxDepsHook
];
propagatedBuildInputs = [
awkward
dask
];
checkInputs = [
pytestCheckHook
pyarrow
];
pythonImportsCheck = [
"dask_awkward"
];
disabledTests = [
# Tests require network access
"test_remote_double"
"test_remote_single"
"test_from_text"
];
meta = with lib; {
description = "Native Dask collection for awkward arrays, and the library to use it";
homepage = "https://github.com/dask-contrib/dask-awkward";
changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}