Skip to content

Commit

Permalink
python310Packages.hist: init at 2.6.3
Browse files Browse the repository at this point in the history
(cherry picked from commit e939aaf)
  • Loading branch information
veprbl committed Feb 13, 2023
1 parent 46146a5 commit b54ff1e
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/hist/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ lib
, fetchPypi
, buildPythonPackage
, boost-histogram
, histoprint
, hatchling
, hatch-vcs
, numpy
, pytestCheckHook
, pytest-mpl
}:

buildPythonPackage rec {
pname = "hist";
version = "2.6.3";
format = "pyproject";

src = fetchPypi {
inherit pname version;
sha256 = "dede097733d50b273af9f67386e6dcccaab77e900ae702e1a9408a856e217ce9";
};

buildInputs = [
hatchling
hatch-vcs
];

propagatedBuildInputs = [
boost-histogram
histoprint
numpy
];

checkInputs = [
pytestCheckHook
pytest-mpl
];

meta = with lib; {
description = "Histogramming for analysis powered by boost-histogram";
homepage = "https://hist.readthedocs.io/en/latest/";
license = licenses.bsd3;
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 { };

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

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

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

0 comments on commit b54ff1e

Please sign in to comment.