83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
49 lines
1 KiB
Nix
49 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, dvc-render
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, ruamel-yaml
|
|
, setuptools
|
|
, tabulate
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dvclive";
|
|
version = "2.1.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iterative";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-n3JjZrh2ImpjW1MUTwag716qaVjSChrYqNJuNp6K1s8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
dvc-render
|
|
ruamel-yaml
|
|
] ++ dvc-render.optional-dependencies.table;
|
|
|
|
# Circular dependency with dvc
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"dvclive"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for logging machine learning metrics and other metadata in simple file formats";
|
|
homepage = "https://github.com/iterative/dvclive";
|
|
changelog = "https://github.com/iterative/dvclive/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|