2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
flit,
|
|
|
|
jinja2,
|
|
|
|
ruamel-yaml,
|
|
|
|
matplotlib,
|
|
|
|
pandas,
|
|
|
|
pandoc,
|
|
|
|
pygments,
|
|
|
|
blessings,
|
|
|
|
curio,
|
|
|
|
hypothesis,
|
|
|
|
pytestCheckHook,
|
2022-05-18 14:49:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "reportengine";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.31";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-jrt+ml8o1PUidV1bY0hCyNgcPaVTBloW574/i5Pl7iE=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ flit ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
ruamel-yaml
|
|
|
|
matplotlib
|
|
|
|
pandas
|
|
|
|
pygments
|
|
|
|
blessings
|
|
|
|
curio
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-05-18 14:49:53 +00:00
|
|
|
hypothesis
|
|
|
|
pandoc
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "reportengine" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Framework for declarative data analysis";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/NNPDF/reportengine/";
|
|
|
|
license = with licenses; [ gpl2Only ];
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
2024-06-05 15:53:02 +00:00
|
|
|
# Incompatibility with ruamel >= 0.18
|
|
|
|
# https://github.com/NNPDF/reportengine/issues/60
|
|
|
|
broken = versionAtLeast ruamel-yaml.version "0.18";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
}
|