fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
692 B
Nix
37 lines
692 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|