backblaze-b2: fix tests, little cleanup

This commit is contained in:
Sandro Jäckel 2022-07-20 14:31:25 +02:00 committed by Martin Weinelt
parent 9f496b05dc
commit 12f5ad8c11

View file

@ -17,6 +17,10 @@ python3Packages.buildPythonApplication rec {
--replace 'setuptools_scm<6.0' 'setuptools_scm' --replace 'setuptools_scm<6.0' 'setuptools_scm'
''; '';
nativeBuildInputs = with python3Packages; [
setuptools-scm
];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
b2sdk b2sdk
phx-class-registry phx-class-registry
@ -25,16 +29,14 @@ python3Packages.buildPythonApplication rec {
rst2ansi rst2ansi
]; ];
nativeBuildInputs = with python3Packages; [
setuptools-scm
];
checkInputs = with python3Packages; [ checkInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [ disabledTests = [
# require network
"test_files_headers" "test_files_headers"
"test_copy_file_by_id"
"test_integration" "test_integration"
"test_get_account_info" "test_get_account_info"
]; ];
@ -53,6 +55,5 @@ python3Packages.buildPythonApplication rec {
homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"; homepage = "https://github.com/Backblaze/B2_Command_Line_Tool";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ hrdinka kevincox ]; maintainers = with maintainers; [ hrdinka kevincox ];
platforms = platforms.unix;
}; };
} }