Merge pull request #186684 from tomhoule/update-backblaze-b2-to-3-5-0

backblaze-b2: 3.2.0 -> 3.5.0

authored by

Kevin Cox and committed by
GitHub
a1fc26b1 6a3e7da9

+15 -6
+15 -6
pkgs/development/tools/backblaze-b2/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "backblaze-b2"; 5 - version = "3.2.0"; 5 + version = "3.5.0"; 6 6 7 7 src = python3Packages.fetchPypi { 8 8 inherit version; 9 9 pname = "b2"; 10 - sha256 = "sha256-dE4eLTNU6O0DscwN8+m1UaG46dbI0DiWzeJK49GUvKA="; 10 + sha256 = "sha256-vyqExulsV0wDijLotPO3RAOk9o4ne0Vq74KJKhSBrvo="; 11 11 }; 12 12 13 13 postPatch = '' 14 14 substituteInPlace requirements.txt \ 15 - --replace 'docutils==0.16' 'docutils' 15 + --replace 'tabulate==0.8.10' 'tabulate' 16 16 substituteInPlace setup.py \ 17 17 --replace 'setuptools_scm<6.0' 'setuptools_scm' 18 18 ''; ··· 27 27 setuptools 28 28 docutils 29 29 rst2ansi 30 + tabulate 30 31 ]; 31 32 32 33 checkInputs = with python3Packages; [ 34 + backoff 33 35 pytestCheckHook 34 36 ]; 35 37 38 + preCheck = '' 39 + export HOME=$(mktemp -d) 40 + ''; 41 + 36 42 disabledTests = [ 37 43 # require network 38 44 "test_files_headers" 39 - "test_copy_file_by_id" 40 45 "test_integration" 41 - "test_get_account_info" 46 + ]; 47 + 48 + disabledTestPaths = [ 49 + # requires network 50 + "test/integration/test_b2_command_line.py" 42 51 ]; 43 52 44 53 postInstall = '' ··· 54 63 description = "Command-line tool for accessing the Backblaze B2 storage service"; 55 64 homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"; 56 65 license = licenses.mit; 57 - maintainers = with maintainers; [ hrdinka kevincox ]; 66 + maintainers = with maintainers; [ hrdinka kevincox tomhoule ]; 58 67 }; 59 68 }