Skip to content

Commit

Permalink
python310Packages.histoprint: init at 2.4.0
Browse files Browse the repository at this point in the history
(cherry picked from commit 0fe0854)
  • Loading branch information
veprbl committed Feb 13, 2023
1 parent 10eb694 commit 46146a5
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/development/python-modules/histoprint/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ lib
, fetchPypi
, buildPythonPackage
, click
, numpy
, setuptools
, setuptools-scm
, uhi
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "histoprint";
version = "2.4.0";
format = "pyproject";

src = fetchPypi {
inherit pname version;
sha256 = "328f789d186e3bd76882d57b5aad3fa08c7870a856cc83bcdbad9f4aefbda94d";
};

buildInputs = [
setuptools
setuptools-scm
];

propagatedBuildInputs = [
click
numpy
uhi
];

SETUPTOOLS_SCM_PRETEND_VERSION = version;

checkInputs = [
pytestCheckHook
];

meta = with lib; {
description = "Pretty print histograms to the console";
homepage = "https://github.com/scikit-hep/histoprint";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4205,6 +4205,8 @@ self: super: with self; {

hiro = callPackage ../development/python-modules/hiro { };

histoprint = callPackage ../development/python-modules/histoprint { };

hiyapyco = callPackage ../development/python-modules/hiyapyco { };

hjson = callPackage ../development/python-modules/hjson { };
Expand Down

0 comments on commit 46146a5

Please sign in to comment.