1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 boost-histogram, 6 dask, 7 hatchling, 8 hatch-vcs, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "dask-histogram"; 14 version = "2024.3.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "dask-contrib"; 19 repo = "dask-histogram"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-RqZMAEGFqEXNmNv7SWCyQw9cI+I+Oa6s8O/7Jp+9id8="; 22 }; 23 24 nativeBuildInputs = [ 25 hatchling 26 hatch-vcs 27 ]; 28 29 propagatedBuildInputs = [ 30 boost-histogram 31 dask 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "dask_histogram" ]; 37 38 meta = with lib; { 39 description = "Histograms with task scheduling"; 40 homepage = "https://dask-histogram.readthedocs.io/"; 41 changelog = "https://github.com/dask-contrib/dask-histogram/releases/tag/${version}"; 42 license = with licenses; [ bsd3 ]; 43 maintainers = with maintainers; [ veprbl ]; 44 }; 45}