@@ -1,17 +1,19 @@
1−{ fetchFromGitHub, makeWrapper, pythonPackages, stdenv }:
1+{ lib, buildPythonApplication, fetchFromGitHub, makeWrapper
2+, arrow, futures, logfury, requests, six, tqdm
3+}:
24
3−pythonPackages.buildPythonApplication rec {
4− name = "backblaze-b2-${version}";
5− version = "0.6.2";
5+buildPythonApplication rec {
6+ pname = "backblaze-b2";
7+ version = "1.1.0";
68
79 src = fetchFromGitHub {
810 owner = "Backblaze";
911 repo = "B2_Command_Line_Tool";
10− rev = "3a4cd3f0b5309f79f98c2e0d51afc19fb2fe4201";
11− sha256 = "1gl1z7zg3s1xgx45i6b1bvx9iwviiiinl4my00h66qkhrw7ag8p1";
12+ rev = "v${version}";
13+ sha256 = "0697rcdsmxz51p4b8m8klx2mf5xnx6vx56vcf5jmzidh8mc38a6z";
1214 };
1315
14− propagatedBuildInputs = with pythonPackages; [ futures requests six tqdm ];
16+ propagatedBuildInputs = [ arrow futures logfury requests six tqdm ];
1517
1618 checkPhase = ''
1719 python test_b2_command_line.py test
@@ -27,7 +29,7 @@ pythonPackages.buildPythonApplication rec {
2729 cp contrib/bash_completion/b2 "$out/etc/bash_completion.d/backblaze-b2"
2830 '';
2931
30− meta = with stdenv.lib; {
32+ meta = with lib; {
3133 description = "Command-line tool for accessing the Backblaze B2 storage service";
3234 homepage = https://github.com/Backblaze/B2_Command_Line_Tool;
3335 license = licenses.mit;