From d58fb53c3f15cbf29c42de52d7ca3259a0bfbba1 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 15 May 2022 11:13:53 -0400 Subject: [PATCH] python3Packages.reportengine: init at 0.30.dev0 (#171979) --- .../python-modules/reportengine/default.nix | 53 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 55 insertions(+) create mode 100644 pkgs/development/python-modules/reportengine/default.nix diff --git a/pkgs/development/python-modules/reportengine/default.nix b/pkgs/development/python-modules/reportengine/default.nix new file mode 100644 index 000000000000..6168f62d463d --- /dev/null +++ b/pkgs/development/python-modules/reportengine/default.nix @@ -0,0 +1,53 @@ +{ lib +, buildPythonPackage +, fetchPypi +, flit +, jinja2 +, ruamel-yaml +, matplotlib +, pandas +, pandoc +, pygments +, blessings +, curio +, hypothesis +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "reportengine"; + version = "0.30.dev0"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + sha256 = "eb612994b7f364e872301b4569b544648e95e587d803284ddb5610efc8f2170f"; + }; + + nativeBuildInputs = [ flit ]; + + propagatedBuildInputs = [ + jinja2 + ruamel-yaml + matplotlib + pandas + pygments + blessings + curio + ]; + + checkInputs = [ + hypothesis + pandoc + pytestCheckHook + ]; + + pythonImportsCheck = [ "reportengine" ]; + + meta = with lib; { + description = "A framework for declarative data analysis"; + homepage = "https://github.com/NNPDF/reportengine/"; + license = with licenses; [ gpl2Only ]; + maintainers = with maintainers; [ veprbl ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f179d913b33b..02b38b79c0ce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8980,6 +8980,8 @@ in { repocheck = callPackage ../development/python-modules/repocheck { }; + reportengine = callPackage ../development/python-modules/reportengine { }; + reportlab = callPackage ../development/python-modules/reportlab { }; repoze_lru = callPackage ../development/python-modules/repoze_lru { };