Merge pull request #215443 from tomhoule/backblaze-b2-3-7-0

backblaze-b2: 3.6.0 -> 3.7.0
This commit is contained in:
Weijia Wang
2023-02-09 08:27:06 +01:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "b2sdk";
version = "1.18.0";
version = "1.19.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-knLyjRjUmLZtM9dJoPBeSdm7GpE0+UJhwLi/obVvPuw=";
hash = "sha256-aJpSt+dXjw4S33dBiMkaR6wxzwLru+jseuPKFj2R36Y=";
};
nativeBuildInputs = [
@@ -56,6 +56,7 @@ buildPythonPackage rec {
disabledTestPaths = [
# requires aws s3 auth
"test/integration/test_download.py"
"test/integration/test_upload.py"
];
disabledTests = [

View File

@@ -2,15 +2,17 @@
python3Packages.buildPythonApplication rec {
pname = "backblaze-b2";
version = "3.6.0";
version = "3.7.0";
src = python3Packages.fetchPypi {
inherit version;
pname = "b2";
sha256 = "sha256-qHnnUTSLY1yncqIjG+IMLoNauvgwU04qsvH7dZZ8AlI=";
sha256 = "sha256-sW6gaZWUh3WX+0+qHRlQ4gZzKU4bL8ePPNKWo9rdF84=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace 'phx-class-registry==4.0.5' 'phx-class-registry'
substituteInPlace requirements.txt \
--replace 'tabulate==0.8.10' 'tabulate'
substituteInPlace setup.py \