python311Packages.dvc-hdfs: init at 3.0.0

HDFS/WebHDFS plugin for dvc

https://github.com/iterative/dvc-hdfs
This commit is contained in:
Fabian Affolter
2024-01-19 07:31:08 +01:00
parent 938e217b76
commit 08de99e0e2
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, dvc
, fetchFromGitHub
, fsspec
, pythonOlder
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dvc-hdfs";
version = "3.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-hdfs";
rev = "refs/tags/${version}";
hash = "sha256-Bo8+El5GC7iyT8SxaJquWFG29BOeilmEMDtTG+RkDGI=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dvc
fsspec
] ++ fsspec.optional-dependencies.arrow;
# Circular dependency with dvc
doCheck = false;
pythonImportsCheck = [
"dvc_hdfs"
];
meta = with lib; {
description = "HDFS/WebHDFS plugin for dvc";
homepage = "https://github.com/iterative/dvc-hdfs";
changelog = "https://github.com/iterative/dvc-hdfs/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -3478,6 +3478,8 @@ self: super: with self; {
dvc-gs = callPackage ../development/python-modules/dvc-gs { };
dvc-hdfs = callPackage ../development/python-modules/dvc-hdfs { };
dvc-http = callPackage ../development/python-modules/dvc-http { };
dvc-objects = callPackage ../development/python-modules/dvc-objects { };