1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, setuptools-scm
6}:
7
8buildPythonPackage rec {
9 pname = "mplhep-data";
10 version = "0.0.3";
11 format = "pyproject";
12
13 src = fetchPypi {
14 pname = "mplhep_data";
15 inherit version;
16 hash = "sha256-tU0lfz9TyTpELNp6ZoHOJnJ34JFzwLQf14gg94Mhdy8=";
17 };
18
19 nativeBuildInputs = [
20 setuptools
21 setuptools-scm
22 ];
23
24 pythonImportsCheck = [
25 "mplhep_data"
26 ];
27
28 meta = with lib; {
29 description = "Sub-package to hold data (fonts) for mplhep";
30 homepage = "https://github.com/scikit-hep/mplhep_data";
31 license = with licenses; [ mit gfl ofl ];
32 maintainers = with maintainers; [ veprbl ];
33 };
34}