blob: 2db639574d2e6d4968eaee069ba716c09c7c84bd (
plain)
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
49
50
|
{
lib,
fetchPypi,
buildPythonPackage,
boost-histogram,
histoprint,
hatchling,
hatch-vcs,
numpy,
pytestCheckHook,
pytest-mpl,
}:
buildPythonPackage (finalAttrs: {
pname = "hist";
version = "2.9.2";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-Z7+A4Vuxq5n4nM9liO+jV9FoJtaRBDtyYWXHgzSpBns=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
boost-histogram
histoprint
numpy
];
checkInputs = [
pytestCheckHook
pytest-mpl
];
pythonImportsCheck = [ "hist" ];
meta = {
description = "Histogramming for analysis powered by boost-histogram";
mainProgram = "";
homepage = "https://hist.readthedocs.io/";
changelog = "https://github.com/scikit-hep/hist/releases/tag/v${finalAttrs.version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ veprbl ];
};
})
|