bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
57 lines
1 KiB
Nix
57 lines
1 KiB
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 = "Framework for declarative data analysis";
|
|
homepage = "https://github.com/NNPDF/reportengine/";
|
|
license = with licenses; [ gpl2Only ];
|
|
maintainers = with maintainers; [ veprbl ];
|
|
# Incompatibility with ruamel >= 0.18
|
|
# https://github.com/NNPDF/reportengine/issues/60
|
|
broken = versionAtLeast ruamel-yaml.version "0.18";
|
|
};
|
|
}
|