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