backblaze-b2: 2.0.2 -> 2.1.0
This commit is contained in:
parent
bffb773018
commit
6fbb17f1c5
@ -1,34 +1,29 @@
|
|||||||
{
|
{ fetchFromGitHub, lib, python3Packages }:
|
||||||
fetchFromGitHub,
|
|
||||||
lib,
|
|
||||||
python3Packages,
|
|
||||||
}:
|
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "backblaze-b2";
|
pname = "backblaze-b2";
|
||||||
version = "2.0.2";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Backblaze";
|
owner = "Backblaze";
|
||||||
repo = "B2_Command_Line_Tool";
|
repo = "B2_Command_Line_Tool";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00zs0a580vvfm2w4ja68mc46360p475wlgagjkq1hi4m8s4qwd75";
|
sha256 = "1kkpvxqgh5pw4kr8lh5gy9d7960hv9zvajbjiqhj6xgykwbpbgmq";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
b2sdk
|
b2sdk
|
||||||
class-registry
|
class-registry
|
||||||
|
phx-class-registry
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = with python3Packages; [
|
checkInputs = with python3Packages; [ pytestCheckHook ];
|
||||||
nose
|
|
||||||
];
|
|
||||||
|
|
||||||
# doCheck = false;
|
disabledTests = [
|
||||||
checkPhase = ''
|
"test_files_headers"
|
||||||
nosetests
|
"test_integration"
|
||||||
'';
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv "$out/bin/b2" "$out/bin/backblaze-b2"
|
mv "$out/bin/b2" "$out/bin/backblaze-b2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user