depot/third_party/nixpkgs/pkgs/development/python-modules/reportengine/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

53 lines
897 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit
, jinja2
, ruamel-yaml
, matplotlib
, pandas
, pandoc
, pygments
, blessings
, curio
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "reportengine";
version = "0.31";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-jrt+ml8o1PUidV1bY0hCyNgcPaVTBloW574/i5Pl7iE=";
};
nativeBuildInputs = [ flit ];
propagatedBuildInputs = [
jinja2
ruamel-yaml
matplotlib
pandas
pygments
blessings
curio
];
nativeCheckInputs = [
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 ];
};
}