evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / hist / default.nix
blob521762308c4bf6a65b4769f7205c825994d9baf8
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   boost-histogram,
6   histoprint,
7   hatchling,
8   hatch-vcs,
9   numpy,
10   pytestCheckHook,
11   pytest-mpl,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "hist";
17   version = "2.8.0";
18   format = "pyproject";
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-Cj5gLdHSchvX8iKfRWcJ3eMj9vdJUvE7pOWYbDJ193s=";
25   };
27   buildInputs = [
28     hatchling
29     hatch-vcs
30   ];
32   propagatedBuildInputs = [
33     boost-histogram
34     histoprint
35     numpy
36   ];
38   checkInputs = [
39     pytestCheckHook
40     pytest-mpl
41   ];
43   meta = with lib; {
44     description = "Histogramming for analysis powered by boost-histogram";
45     mainProgram = "hist";
46     homepage = "https://hist.readthedocs.io/";
47     changelog = "https://github.com/scikit-hep/hist/releases/tag/v${version}";
48     license = licenses.bsd3;
49     maintainers = with maintainers; [ veprbl ];
50   };