depot/third_party/nixpkgs/pkgs/development/python-modules/histoprint/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

43 lines
753 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
click,
numpy,
setuptools,
setuptools-scm,
uhi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "histoprint";
version = "2.5.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kJfnOWqzqag8kW9+U8Ri6kbk9kXBrZFgRzjy2Dg+/U8=";
};
buildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
click
numpy
uhi
];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Pretty print histograms to the console";
mainProgram = "histoprint";
homepage = "https://github.com/scikit-hep/histoprint";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
};
}