python3Packages.dvc-render: 0.0.7 -> 0.0.8
This commit is contained in:
parent
c9a62edcbb
commit
f8219c9567
1 changed files with 18 additions and 9 deletions
|
@ -2,17 +2,18 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, funcy
|
, funcy
|
||||||
|
, matplotlib
|
||||||
|
, tabulate
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytest-test-utils
|
, pytest-test-utils
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, tabulate
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvc-render";
|
pname = "dvc-render";
|
||||||
version = "0.0.7";
|
version = "0.0.8";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -21,7 +22,7 @@ buildPythonPackage rec {
|
||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-QUrXUfvxQ2XZPTWXXuYBJpzFGNb8KeqpMh47WdCQu04=";
|
hash = "sha256-pn1dmCyDxbMgXwUj9o//X3FZ/x0jz5ZKdTcEuKkeJ1s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -30,16 +31,24 @@ buildPythonPackage rec {
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
passthru.optional-dependencies = {
|
||||||
funcy
|
table = [
|
||||||
tabulate
|
tabulate
|
||||||
];
|
];
|
||||||
|
markdown = [
|
||||||
|
tabulate
|
||||||
|
matplotlib
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
funcy
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-test-utils
|
pytest-test-utils
|
||||||
];
|
]
|
||||||
|
++ passthru.optional-dependencies.table
|
||||||
|
++ passthru.optional-dependencies.markdown;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"dvc_render"
|
"dvc_render"
|
||||||
|
@ -47,7 +56,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library for rendering DVC plots";
|
description = "Library for rendering DVC plots";
|
||||||
homepage = "https://github.com/iterative/dvclive";
|
homepage = "https://github.com/iterative/dvc-render";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue