python3Packages.dvc-render: 0.0.7 -> 0.0.8

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:05 +02:00
parent c9a62edcbb
commit f8219c9567

View file

@ -2,17 +2,18 @@
, buildPythonPackage
, fetchFromGitHub
, funcy
, matplotlib
, tabulate
, pytestCheckHook
, pytest-mock
, pytest-test-utils
, pythonOlder
, setuptools-scm
, tabulate
}:
buildPythonPackage rec {
pname = "dvc-render";
version = "0.0.7";
version = "0.0.8";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-QUrXUfvxQ2XZPTWXXuYBJpzFGNb8KeqpMh47WdCQu04=";
hash = "sha256-pn1dmCyDxbMgXwUj9o//X3FZ/x0jz5ZKdTcEuKkeJ1s=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -30,16 +31,24 @@ buildPythonPackage rec {
setuptools-scm
];
propagatedBuildInputs = [
funcy
tabulate
];
passthru.optional-dependencies = {
table = [
tabulate
];
markdown = [
tabulate
matplotlib
];
};
checkInputs = [
funcy
pytestCheckHook
pytest-mock
pytest-test-utils
];
]
++ passthru.optional-dependencies.table
++ passthru.optional-dependencies.markdown;
pythonImportsCheck = [
"dvc_render"
@ -47,7 +56,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for rendering DVC plots";
homepage = "https://github.com/iterative/dvclive";
homepage = "https://github.com/iterative/dvc-render";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};