2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
dictdiffer,
|
|
|
|
diskcache,
|
|
|
|
dvc-objects,
|
|
|
|
fetchFromGitHub,
|
|
|
|
funcy,
|
|
|
|
pygtrie,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools-scm,
|
|
|
|
shortuuid,
|
|
|
|
sqltrie,
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dvc-data";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "3.16.6";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iterative";
|
2024-01-02 11:29:13 +00:00
|
|
|
repo = "dvc-data";
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-2KYAFNCh6QfGdTzHE5LCumWoi+DM4t857qg6LrFO5x4=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools-scm ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [
|
2022-07-14 12:49:19 +00:00
|
|
|
dictdiffer
|
|
|
|
diskcache
|
|
|
|
dvc-objects
|
|
|
|
funcy
|
|
|
|
pygtrie
|
|
|
|
shortuuid
|
2023-02-02 18:25:31 +00:00
|
|
|
sqltrie
|
2022-07-14 12:49:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Tests depend on upath which is unmaintained and only available as wheel
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "dvc_data" ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "DVC's data management subsystem";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dvc-data";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://github.com/iterative/dvc-data";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/iterative/dvc-data/releases/tag/${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|