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