python311Packages.dvc-hdfs: init at 3.0.0
HDFS/WebHDFS plugin for dvc https://github.com/iterative/dvc-hdfs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user