1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 hatchling,
6 hatch-vcs,
7 fastjsonschema,
8 numpy,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "uhi";
14 version = "0.5.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-lVm78vOPGKL8HY9zE5OWBo+I+JjWqa/IMyB+wP1Zoxw=";
20 };
21
22 build-system = [
23 hatchling
24 hatch-vcs
25 ];
26
27 dependencies = [
28 fastjsonschema
29 numpy
30 ];
31
32 checkInputs = [ pytestCheckHook ];
33
34 meta = with lib; {
35 description = "Universal Histogram Interface";
36 homepage = "https://uhi.readthedocs.io/";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ veprbl ];
39 };
40}