diff options
author | David Tulig <david.tulig@gmail.com> | 2017-12-02 05:42:13 -0800 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-17 14:13:42 +0000 |
commit | ead4eca0b6386f70696ed59d79201dd31e4b3b06 (patch) | |
tree | 39f12c6f66283a77adacb7ce047d3f0fc4b0d3cf /pkgs/development/tools/backblaze-b2 | |
parent | 32a00e92906cc59372d06d50e2f04eae74661995 (diff) |
backblaze-b2: 0.6.2 -> 1.1.0
Diffstat (limited to 'pkgs/development/tools/backblaze-b2')
-rw-r--r-- | pkgs/development/tools/backblaze-b2/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix index 94960e1b74da..5bda2d945eb6 100644 --- a/pkgs/development/tools/backblaze-b2/default.nix +++ b/pkgs/development/tools/backblaze-b2/default.nix @@ -1,17 +1,19 @@ -{ fetchFromGitHub, makeWrapper, pythonPackages, stdenv }: +{ lib, buildPythonApplication, fetchFromGitHub, makeWrapper +, arrow, futures, logfury, requests, six, tqdm +}: -pythonPackages.buildPythonApplication rec { - name = "backblaze-b2-${version}"; - version = "0.6.2"; +buildPythonApplication rec { + pname = "backblaze-b2"; + version = "1.1.0"; src = fetchFromGitHub { owner = "Backblaze"; repo = "B2_Command_Line_Tool"; - rev = "3a4cd3f0b5309f79f98c2e0d51afc19fb2fe4201"; - sha256 = "1gl1z7zg3s1xgx45i6b1bvx9iwviiiinl4my00h66qkhrw7ag8p1"; + rev = "v${version}"; + sha256 = "0697rcdsmxz51p4b8m8klx2mf5xnx6vx56vcf5jmzidh8mc38a6z"; }; - propagatedBuildInputs = with pythonPackages; [ futures requests six tqdm ]; + propagatedBuildInputs = [ arrow futures logfury requests six tqdm ]; checkPhase = '' python test_b2_command_line.py test @@ -27,7 +29,7 @@ pythonPackages.buildPythonApplication rec { cp contrib/bash_completion/b2 "$out/etc/bash_completion.d/backblaze-b2" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Command-line tool for accessing the Backblaze B2 storage service"; homepage = https://github.com/Backblaze/B2_Command_Line_Tool; license = licenses.mit; |