17 buildPythonPackage rec {
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
25 inherit pname version;
26 hash = "sha256-knLyjRjUmLZtM9dJoPBeSdm7GpE0+UJhwLi/obVvPuw=";
33 propagatedBuildInputs = [
38 ] ++ lib.optionals (pythonOlder "3.8") [
50 substituteInPlace setup.py \
51 --replace 'setuptools_scm<6.0' 'setuptools_scm'
52 substituteInPlace requirements.txt \
53 --replace 'arrow>=0.8.0,<1.0.0' 'arrow'
57 # requires aws s3 auth
58 "test/integration/test_download.py"
62 # Test requires an API key
68 pythonImportsCheck = [
73 description = "Client library and utilities for access to B2 Cloud Storage (backblaze)";
74 homepage = "https://github.com/Backblaze/b2-sdk-python";
75 license = licenses.mit;
76 maintainers = with maintainers; [ ];