Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 67 lines 1.3 kB view raw
1{ lib 2, awkward 3, buildPythonPackage 4, dask 5, fetchFromGitHub 6, hatch-vcs 7, hatchling 8, pyarrow 9, pytestCheckHook 10, pythonOlder 11, pythonRelaxDepsHook 12}: 13 14buildPythonPackage rec { 15 pname = "dask-awkward"; 16 version = "2023.4.2"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "dask-contrib"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-c3NnARost/406cALQDKmeUsl2kFSQHAswAEwgreFXPc="; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version; 29 30 pythonRelaxDeps = [ 31 "awkward" 32 ]; 33 34 nativeBuildInputs = [ 35 hatch-vcs 36 hatchling 37 pythonRelaxDepsHook 38 ]; 39 40 propagatedBuildInputs = [ 41 awkward 42 dask 43 ]; 44 45 checkInputs = [ 46 pytestCheckHook 47 pyarrow 48 ]; 49 50 pythonImportsCheck = [ 51 "dask_awkward" 52 ]; 53 54 disabledTests = [ 55 # Tests require network access 56 "test_remote_double" 57 "test_remote_single" 58 ]; 59 60 meta = with lib; { 61 description = "Native Dask collection for awkward arrays, and the library to use it"; 62 homepage = "https://github.com/dask-contrib/dask-awkward"; 63 changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}"; 64 license = licenses.bsd3; 65 maintainers = with maintainers; [ veprbl ]; 66 }; 67}