depot/third_party/nixpkgs/pkgs/development/python-modules/dask-awkward/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

66 lines
1.2 KiB
Nix

{ lib
, awkward
, buildPythonPackage
, dask
, fetchFromGitHub
, hatch-vcs
, hatchling
, pyarrow
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "dask-awkward";
version = "2024.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "dask-contrib";
repo = "dask-awkward";
rev = "refs/tags/${version}";
hash = "sha256-LxkiEQDHuVCRUoYgRwvMgBff22mzOvPmDoqczRweWB8=";
};
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 ];
};
}