python310Packages.mplhep-data: init at 0.0.3

This commit is contained in:
Dmitry Kalinkin 2023-06-27 18:32:45 -04:00
parent dde8c4b5df
commit 787bae5d71
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "mplhep-data";
version = "0.0.3";
format = "pyproject";
src = fetchPypi {
pname = "mplhep_data";
inherit version;
hash = "sha256-tU0lfz9TyTpELNp6ZoHOJnJ34JFzwLQf14gg94Mhdy8=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
pythonImportsCheck = [
"mplhep_data"
];
meta = with lib; {
description = "Sub-package to hold data (fonts) for mplhep";
homepage = "https://github.com/scikit-hep/mplhep_data";
license = with licenses; [ mit gfl ofl ];
maintainers = with maintainers; [ veprbl ];
};
}

View File

@ -6494,6 +6494,8 @@ self: super: with self; {
mplfinance = callPackage ../development/python-modules/mplfinance { };
mplhep_data = callPackage ../development/python-modules/mplhep_data { };
mplleaflet = callPackage ../development/python-modules/mplleaflet { };
mpmath = callPackage ../development/python-modules/mpmath { };