Merge pull request #142769 from fabaff/bump-b2sdk
python3Packages.b2sdk: 1.12.0 -> 1.13.0
This commit is contained in:
commit
b00063c02c
3 changed files with 40 additions and 16 deletions
|
@ -16,12 +16,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "b2sdk";
|
pname = "b2sdk";
|
||||||
version = "1.12.0";
|
version = "1.13.0";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-PsImSuK0IVY9EwpLKlP5ZFS6A7j2iJOtUg/GUcQTJR0=";
|
sha256 = "sha256-Q9B85c+WhazDeXsMR2S0aId32xLY8BAuYRj4QD21x1k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -57,7 +57,9 @@ buildPythonPackage rec {
|
||||||
"test_large_file"
|
"test_large_file"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "b2sdk" ];
|
pythonImportsCheck = [
|
||||||
|
"b2sdk"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Client library and utilities for access to B2 Cloud Storage (backblaze)";
|
description = "Client library and utilities for access to B2 Cloud Storage (backblaze)";
|
||||||
|
|
|
@ -2,30 +2,49 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, funcsigs
|
, funcsigs
|
||||||
, six
|
, setuptools-scm
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, testfixtures
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "logfury";
|
pname = "logfury";
|
||||||
version = "0.1.2";
|
version = "1.0.1";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
|
sha256 = "sha256-EwpdrOq5rVNJJCUt33BIKqLJZmKzo4JafTCYHQO3aiY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
funcsigs
|
funcsigs
|
||||||
six
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# No tests
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
testfixtures
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
postPatch = ''
|
||||||
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
|
substituteInPlace setup.py \
|
||||||
|
--replace "'setuptools_scm<6.0'" "'setuptools_scm'"
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"logfury"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module that allows for responsible, low-boilerplate logging of method calls";
|
||||||
homepage = "https://github.com/ppolewicz/logfury";
|
homepage = "https://github.com/ppolewicz/logfury";
|
||||||
license = lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with lib.maintainers; [ jwiegley ];
|
maintainers = with maintainers; [ jwiegley ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,12 @@ let
|
||||||
in
|
in
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "backblaze-b2";
|
pname = "backblaze-b2";
|
||||||
version = "3.0.1";
|
version = "3.0.3";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "b2";
|
pname = "b2";
|
||||||
sha256 = "sha256-Zr+5J6MCjfth+5fOSfHXpT/CAgD754ZpS1b1NqeGid8=";
|
sha256 = "sha256-asrhinANGlTsSBbtGToOxTRGGSCf+1c4VWnoE3ezoIA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -39,11 +39,14 @@ python3Packages.buildPythonApplication rec {
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = with python3Packages; [ pytestCheckHook ];
|
checkInputs = with python3Packages; [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_files_headers"
|
"test_files_headers"
|
||||||
"test_integration"
|
"test_integration"
|
||||||
|
"test_get_account_info"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue