blob: 963033a1ecb7e91410da8a848857f680870a6be7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
dvc,
fetchFromGitHub,
fsspec,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "dvc-hdfs";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-hdfs";
tag = 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 = {
description = "HDFS/WebHDFS plugin for dvc";
homepage = "https://github.com/iterative/dvc-hdfs";
changelog = "https://github.com/iterative/dvc-hdfs/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|