2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, dictdiffer
|
|
|
|
, diskcache
|
|
|
|
, dvc-objects
|
|
|
|
, fetchFromGitHub
|
|
|
|
, funcy
|
|
|
|
, pygtrie
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools-scm
|
2023-02-02 18:25:31 +00:00
|
|
|
, shortuuid
|
|
|
|
, sqltrie
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dvc-data";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.15.1";
|
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-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-pr5RtVlGKKtpcmmCNGqcLiBFzJcajpqtPjBbzeCCHF8=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
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;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dvc_data"
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|