1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 hatchling, 8 hatch-vcs, 9 10 # dependencies 11 boost-histogram, 12 dask, 13 dask-awkward, 14 15 # tests 16 pytestCheckHook, 17}: 18 19buildPythonPackage rec { 20 pname = "dask-histogram"; 21 version = "2025.2.0"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "dask-contrib"; 26 repo = "dask-histogram"; 27 tag = version; 28 hash = "sha256-5Ec/qzVc/7LDG6SJym1e76BbxmbVjKKQHckwtTs1+6M="; 29 }; 30 31 build-system = [ 32 hatchling 33 hatch-vcs 34 ]; 35 36 dependencies = [ 37 boost-histogram 38 dask 39 dask-awkward 40 ]; 41 42 nativeCheckInputs = [ pytestCheckHook ]; 43 44 pythonImportsCheck = [ "dask_histogram" ]; 45 46 meta = { 47 description = "Histograms with task scheduling"; 48 homepage = "https://dask-histogram.readthedocs.io/"; 49 changelog = "https://github.com/dask-contrib/dask-histogram/releases/tag/${version}"; 50 license = with lib.licenses; [ bsd3 ]; 51 maintainers = with lib.maintainers; [ veprbl ]; 52 }; 53}