File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
development/python-modules/dvc-webhdfs Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ dvc-objects ,
5+ fetchPypi ,
6+ fsspec ,
7+ pythonOlder ,
8+ requests-kerberos ,
9+ setuptools-scm ,
10+ setuptools ,
11+ } :
12+
13+ buildPythonPackage rec {
14+ pname = "dvc-webhdfs" ;
15+ version = "3.1.0" ;
16+ pyproject = true ;
17+
18+ disabled = pythonOlder "3.9" ;
19+
20+ src = fetchPypi {
21+ inherit pname version ;
22+ hash = "sha256-bolIQ9Fc52agXGFt7anZvDYSSOk7+eozi5lublHqD+o=" ;
23+ } ;
24+
25+ # Prevent circular dependency
26+ pythonRemoveDeps = [ "dvc" ] ;
27+
28+ build-system = [
29+ setuptools
30+ setuptools-scm
31+ ] ;
32+
33+ dependencies = [
34+ dvc-objects
35+ fsspec
36+ ] ;
37+
38+ optional-dependencies = {
39+ kerberos = [ requests-kerberos ] ;
40+ } ;
41+
42+ # Circular dependency
43+ # pythonImportsCheck = [ "dvc_webhdfs" ];
44+
45+ meta = {
46+ description = "Webhdfs plugin for dvc" ;
47+ homepage = "https://pypi.org/project/dvc-webhdfs/" ;
48+ license = lib . licenses . asl20 ;
49+ maintainers = with lib . maintainers ; [ fab ] ;
50+ } ;
51+ }
Original file line number Diff line number Diff line change @@ -4054,6 +4054,8 @@ self: super: with self; {
40544054
40554055 dvc-webdav = callPackage ../development/python-modules/dvc-webdav { };
40564056
4057+ dvc-webhdfs = callPackage ../development/python-modules/dvc-webhdfs { };
4058+
40574059 dvclive = callPackage ../development/python-modules/dvclive { };
40584060
40594061 dwdwfsapi = callPackage ../development/python-modules/dwdwfsapi { };
You can’t perform that action at this time.
0 commit comments