1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit, 6 jinja2, 7 ruamel-yaml, 8 matplotlib, 9 pandas, 10 pandoc, 11 pygments, 12 blessings, 13 curio, 14 hypothesis, 15 pytestCheckHook, 16}: 17 18buildPythonPackage rec { 19 pname = "reportengine"; 20 version = "0.31"; 21 format = "pyproject"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-jrt+ml8o1PUidV1bY0hCyNgcPaVTBloW574/i5Pl7iE="; 26 }; 27 28 nativeBuildInputs = [ flit ]; 29 30 propagatedBuildInputs = [ 31 jinja2 32 ruamel-yaml 33 matplotlib 34 pandas 35 pygments 36 blessings 37 curio 38 ]; 39 40 nativeCheckInputs = [ 41 hypothesis 42 pandoc 43 pytestCheckHook 44 ]; 45 46 pythonImportsCheck = [ "reportengine" ]; 47 48 meta = with lib; { 49 description = "A framework for declarative data analysis"; 50 homepage = "https://github.com/NNPDF/reportengine/"; 51 license = with licenses; [ gpl2Only ]; 52 maintainers = with maintainers; [ veprbl ]; 53 # Incompatibility with ruamel >= 0.18 54 # https://github.com/NNPDF/reportengine/issues/60 55 broken = versionAtLeast ruamel-yaml.version "0.18"; 56 }; 57}