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