python310Packages.dvc-data: init at 0.0.18

This commit is contained in:
Fabian Affolter 2022-07-04 19:56:51 +02:00
parent d9d731345e
commit 29a77fc1ad
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,63 @@
{ lib
, buildPythonPackage
, dictdiffer
, diskcache
, dvc-objects
, fetchFromGitHub
, funcy
, nanotime
, pygtrie
, pythonOlder
, shortuuid
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dvc-data";
version = "0.0.18";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
rev = version;
hash = "sha256-jS+96LjHJyhkCREjMhhlWOlvRBhjiKmfNtEcBVS+YCU=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
dictdiffer
diskcache
dvc-objects
funcy
nanotime
pygtrie
shortuuid
];
# Tests depend on upath which is unmaintained and only available as wheel
doCheck = false;
postPatch = ''
substituteInPlace setup.cfg \
--replace "dvc-objects==" "dvc-objects>="
'';
pythonImportsCheck = [
"dvc_data"
];
meta = with lib; {
description = "DVC's data management subsystem";
homepage = "https://github.com/iterative/dvc-data";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2647,6 +2647,8 @@ in {
durus = callPackage ../development/python-modules/durus { };
dvc-data = callPackage ../development/python-modules/dvc-data { };
dvc-objects = callPackage ../development/python-modules/dvc-objects { };
dvc-render = callPackage ../development/python-modules/dvc-render { };