Skip to content

Commit 9b8d290

Browse files
committed
python312Packages.dvc-oss: init at 3.0.0
Alibaba OSS plugin for dvc https://pypi.org/project/dvc-oss/
1 parent c9bb3ce commit 9b8d290

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
dvc-objects,
5+
fetchPypi,
6+
ossfs,
7+
pythonOlder,
8+
setuptools-scm,
9+
}:
10+
11+
buildPythonPackage rec {
12+
pname = "dvc-oss";
13+
version = "3.0.0";
14+
pyproject = true;
15+
16+
disabled = pythonOlder "3.9";
17+
18+
src = fetchPypi {
19+
inherit pname version;
20+
hash = "sha256-EEf3NAIvzSuW0ysGv24JIc0KZYEPf8HpsPrCmhR7apo=";
21+
};
22+
23+
# Prevent circular dependency
24+
pythonRemoveDeps = [ "dvc" ];
25+
26+
build-system = [ setuptools-scm ];
27+
28+
dependencies = [
29+
dvc-objects
30+
ossfs
31+
];
32+
33+
# Circular dependency
34+
# pythonImportsCheck = [ "dvc_ssh" ];
35+
36+
meta = with lib; {
37+
description = "Alibaba OSS plugin for dvc";
38+
homepage = "https://pypi.org/project/dvc-oss/";
39+
changelog = "https://github.com/iterative/dvc-oss/releases/tag/${version}";
40+
license = licenses.asl20;
41+
maintainers = with maintainers; [ fab ];
42+
};
43+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,6 +4042,8 @@ self: super: with self; {
40424042

40434043
dvc-objects = callPackage ../development/python-modules/dvc-objects { };
40444044

4045+
dvc-oss = callPackage ../development/python-modules/dvc-oss { };
4046+
40454047
dvc-render = callPackage ../development/python-modules/dvc-render { };
40464048

40474049
dvc-s3 = callPackage ../development/python-modules/dvc-s3 { };

0 commit comments

Comments
 (0)