Skip to content

Commit c9a8b5e

Browse files
authored
backblaze-b2: 4.5.1 -> 4.6.0 (#494165)
2 parents 26eaeac + 28428c7 commit c9a8b5e

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

pkgs/by-name/ba/backblaze-b2/package.nix

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
python3Packages.buildPythonApplication (finalAttrs: {
1313
pname = "backblaze-b2";
14-
version = "4.5.1";
14+
version = "4.6.0";
1515
pyproject = true;
1616

1717
src = fetchFromGitHub {
1818
owner = "Backblaze";
1919
repo = "B2_Command_Line_Tool";
2020
tag = "v${finalAttrs.version}";
21-
hash = "sha256-0BF4+L47Cx7GNGeNm8nJkEfTLYb6jLxSH3WE+h9B6zA=";
21+
hash = "sha256-/JCvCydW+oaPSs94Crfia9VFNSuHO02j6n+CFnxMKDE=";
2222
};
2323

2424
patches = [ ./0001-fix-error-with-pytest-4.0.patch ];
@@ -28,25 +28,21 @@ python3Packages.buildPythonApplication (finalAttrs: {
2828
argcomplete
2929
];
3030

31-
build-system = with python3Packages; [
32-
pdm-backend
33-
];
31+
build-system = with python3Packages; [ pdm-backend ];
3432

3533
dependencies = with python3Packages; [
3634
argcomplete
3735
arrow
3836
b2sdk
39-
phx-class-registry
4037
docutils
38+
platformdirs
4139
rst2ansi
40+
setuptools
4241
tabulate
4342
tqdm
44-
platformdirs
45-
packaging
46-
setuptools
4743
];
4844

49-
pythonRelaxDeps = [ "phx-class-registry" ];
45+
pythonRelaxDeps = [ "docutils" ];
5046

5147
nativeCheckInputs = with python3Packages; [
5248
backoff

pkgs/development/python-modules/b2sdk/default.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
fetchFromGitHub,
55
logfury,
66
annotated-types,
7-
packaging,
8-
pdm-backend,
7+
hatchling,
8+
hatch-vcs,
99
pytest-lazy-fixtures,
1010
pytest-mock,
1111
pytest-timeout,
@@ -14,27 +14,30 @@
1414
pythonOlder,
1515
requests,
1616
responses,
17+
tenacity,
1718
tqdm,
1819
typing-extensions,
1920
}:
2021

2122
buildPythonPackage rec {
2223
pname = "b2sdk";
23-
version = "2.10.2";
24+
version = "2.10.3";
2425
pyproject = true;
2526

2627
src = fetchFromGitHub {
2728
owner = "Backblaze";
2829
repo = "b2-sdk-python";
2930
tag = "v${version}";
30-
hash = "sha256-RWHD1ARPSKHmGKY0xdCBn3Qj4GxAfn4o8eacMQ5RT1k=";
31+
hash = "sha256-Gu4MRfjNWuwEFn13U49dEndWA/HNPwrQdX9VEz1ny+M=";
3132
};
3233

33-
build-system = [ pdm-backend ];
34+
build-system = [
35+
hatchling
36+
hatch-vcs
37+
];
3438

3539
dependencies = [
3640
annotated-types
37-
packaging
3841
logfury
3942
requests
4043
]
@@ -46,6 +49,7 @@ buildPythonPackage rec {
4649
pytest-timeout
4750
pytestCheckHook
4851
responses
52+
tenacity
4953
tqdm
5054
];
5155

pkgs/development/python-modules/rst2ansi/default.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55
docutils,
66
}:
77

8-
buildPythonPackage rec {
8+
buildPythonPackage {
99
pname = "rst2ansi";
10-
version = "0.1.5";
10+
version = "0.1.5-unstable-2025-02-12";
1111
format = "setuptools";
1212

13-
src = fetchPypi {
14-
inherit pname version;
15-
hash = "sha256-Gxf7mmKNQPV5M60aOqlSNGREvgaUaVCOc+lQYNoz/m8=";
13+
src = fetchFromGitHub {
14+
owner = "Snaipe";
15+
repo = "python-rst2ansi";
16+
rev = "3728e16f8b8b1dc338e5df90ba2c4a93ee054b3f";
17+
hash = "sha256-V7tl/YJcPvEgBfH334t6CU7OXKQqBqRo/zZPiOlyCmE=";
1618
};
1719

1820
propagatedBuildInputs = [ docutils ];

0 commit comments

Comments
 (0)