Skip to content

Commit c6b95d9

Browse files
committed
python313Packages.dvc-ssh: 4.1.1 -> 4.2.1
Changelog: https://github.com/iterative/dvc-ssh/releases/tag/4.2.1
1 parent 6e15303 commit c6b95d9

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

pkgs/development/python-modules/dvc-ssh/default.nix

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,39 @@
66
fetchPypi,
77
setuptools-scm,
88
sshfs,
9+
pythonOlder,
910
}:
1011

1112
buildPythonPackage rec {
1213
pname = "dvc-ssh";
13-
version = "4.1.1";
14+
version = "4.2.1";
1415
pyproject = true;
1516

17+
disabled = pythonOlder "3.9";
18+
1619
src = fetchPypi {
17-
inherit pname version;
18-
hash = "sha256-lvC6oAXQR4u7s+11n6NgQExPc9yrq3JAmmXtuOw22tI=";
20+
pname = "dvc_ssh";
21+
inherit version;
22+
hash = "sha256-ld6uaAIA+8lHK/TjKtrjtmGKj5847SBMYYvKKN+MkS4=";
1923
};
2024

2125
pythonRemoveDeps = [
2226
# Prevent circular dependency
2327
"dvc"
2428
];
2529

26-
nativeBuildInputs = [
27-
setuptools-scm
28-
];
30+
build-system = [ setuptools-scm ];
2931

30-
propagatedBuildInputs = [
32+
dependencies = [
3133
bcrypt
3234
dvc-objects
3335
sshfs
3436
];
3537

38+
optional-dependencies = {
39+
gssapi = [ sshfs ];
40+
};
41+
3642
# bcrypt is enabled for sshfs in nixpkgs
3743
postPatch = ''
3844
substituteInPlace setup.cfg --replace "sshfs[bcrypt]" "sshfs"
@@ -47,7 +53,7 @@ buildPythonPackage rec {
4753
# ];
4854

4955
meta = with lib; {
50-
description = "ssh plugin for dvc";
56+
description = "SSH plugin for dvc";
5157
homepage = "https://pypi.org/project/dvc-ssh/${version}";
5258
changelog = "https://github.com/iterative/dvc-ssh/releases/tag/${version}";
5359
license = licenses.asl20;

0 commit comments

Comments
 (0)