Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

backblaze-b2: 1.1.0 -> 1.3.6 (#45929)

Changelog: https://github.com/Backblaze/B2_Command_Line_Tool#release-history

authored by Daniël de Kok and committed by xeji ffde2e71 a3434cf4

+13 -2
+13 -2
pkgs/development/tools/backblaze-b2/default.nix
··· 4 4 5 5 buildPythonApplication rec { 6 6 pname = "backblaze-b2"; 7 - version = "1.1.0"; 7 + version = "1.3.6"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "Backblaze"; 11 11 repo = "B2_Command_Line_Tool"; 12 12 rev = "v${version}"; 13 - sha256 = "0697rcdsmxz51p4b8m8klx2mf5xnx6vx56vcf5jmzidh8mc38a6z"; 13 + sha256 = "12axb0c56razfhrx1l62sjvdrbg6vz0yyqph2mxyjza1ywpb93b5"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ arrow futures logfury requests six tqdm ]; 17 17 18 18 checkPhase = '' 19 19 python test_b2_command_line.py test 20 + ''; 21 + 22 + postPatch = '' 23 + # b2 uses an upper bound on arrow, because arrow 0.12.1 is not 24 + # compatible with Python 2.6: 25 + # 26 + # https://github.com/crsmithdev/arrow/issues/517 27 + # 28 + # However, since we use Python 2.7, newer versions of arrow are fine. 29 + 30 + sed -i 's/,<0.12.1//g' requirements.txt 20 31 ''; 21 32 22 33 postInstall = ''