blob: 4b132d8d64c50eac778369a2ea5168239b3e6a82 (
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
47
48
49
50
51
|
{
lib,
aiooss2,
buildPythonPackage,
fetchFromGitHub,
fsspec,
oss2,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "ossfs";
version = "2025.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fsspec";
repo = "ossfs";
tag = version;
hash = "sha256-2i7zxLCi4wNCwzWNUbC6lvvdRkK+ksUWds+H6QG6bW4=";
};
pythonRelaxDeps = [
"aiooss2"
"fsspec"
"oss2"
];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
aiooss2
fsspec
oss2
];
# Most tests require network access
doCheck = false;
pythonImportsCheck = [ "ossfs" ];
meta = {
description = "Filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)";
homepage = "https://github.com/fsspec/ossfs";
changelog = "https://github.com/fsspec/ossfs/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|