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