2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
numpy,
|
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
|
|
|
uhi,
|
|
|
|
pytestCheckHook,
|
2023-02-16 17:41:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "histoprint";
|
2024-10-23 06:41:50 +00:00
|
|
|
version = "2.5.0";
|
2023-02-16 17:41:37 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-10-23 06:41:50 +00:00
|
|
|
sha256 = "sha256-kJfnOWqzqag8kW9+U8Ri6kbk9kXBrZFgRzjy2Dg+/U8=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
numpy
|
|
|
|
uhi
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pretty print histograms to the console";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "histoprint";
|
2023-02-16 17:41:37 +00:00
|
|
|
homepage = "https://github.com/scikit-hep/histoprint";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|