Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dask-awkward / default.nix
blob39ae8e5ddcad791062c234b295d0764df760d214
1 { lib
2 , awkward
3 , buildPythonPackage
4 , dask
5 , fetchFromGitHub
6 , hatch-vcs
7 , hatchling
8 , pyarrow
9 , pytestCheckHook
10 , pythonOlder
11 , pythonRelaxDepsHook
14 buildPythonPackage rec {
15   pname = "dask-awkward";
16   version = "2023.11.2";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "dask-contrib";
23     repo = "dask-awkward";
24     rev = "refs/tags/${version}";
25     hash = "sha256-yx0B31x+BMS4alHro+hAPeVB6YK9B7Tg+3sSCMCYjKs=";
26   };
28   SETUPTOOLS_SCM_PRETEND_VERSION = version;
30   pythonRelaxDeps = [
31     "awkward"
32   ];
34   nativeBuildInputs = [
35     hatch-vcs
36     hatchling
37     pythonRelaxDepsHook
38   ];
40   propagatedBuildInputs = [
41     awkward
42     dask
43   ];
45   checkInputs = [
46     pytestCheckHook
47     pyarrow
48   ];
50   pythonImportsCheck = [
51     "dask_awkward"
52   ];
54   disabledTests = [
55     # Tests require network access
56     "test_remote_double"
57     "test_remote_single"
58     "test_from_text"
59   ];
61   meta = with lib; {
62     description = "Native Dask collection for awkward arrays, and the library to use it";
63     homepage = "https://github.com/dask-contrib/dask-awkward";
64     changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}";
65     license = licenses.bsd3;
66     maintainers = with maintainers; [ veprbl ];
67   };