summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-07-20 14:31:25 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-21 22:35:28 +0200
commit12f5ad8c11cf4b0c3b1aea17b8cbb6f8e39368a6 (patch)
treeaf6519a56475ddc25f57126fcda54aa908e6a668
parent9f496b05dc3923f62380094475b49b9a1119e7ca (diff)
backblaze-b2: fix tests, little cleanup
-rw-r--r--pkgs/development/tools/backblaze-b2/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix
index b46ad5efc881..6df8edd02c96 100644
--- a/pkgs/development/tools/backblaze-b2/default.nix
+++ b/pkgs/development/tools/backblaze-b2/default.nix
@@ -17,6 +17,10 @@ python3Packages.buildPythonApplication rec {
--replace 'setuptools_scm<6.0' 'setuptools_scm'
'';
+ nativeBuildInputs = with python3Packages; [
+ setuptools-scm
+ ];
+
propagatedBuildInputs = with python3Packages; [
b2sdk
phx-class-registry
@@ -25,16 +29,14 @@ python3Packages.buildPythonApplication rec {
rst2ansi
];
- nativeBuildInputs = with python3Packages; [
- setuptools-scm
- ];
-
checkInputs = with python3Packages; [
pytestCheckHook
];
disabledTests = [
+ # require network
"test_files_headers"
+ "test_copy_file_by_id"
"test_integration"
"test_get_account_info"
];
@@ -53,6 +55,5 @@ python3Packages.buildPythonApplication rec {
homepage = "https://github.com/Backblaze/B2_Command_Line_Tool";
license = licenses.mit;
maintainers = with maintainers; [ hrdinka kevincox ];
- platforms = platforms.unix;
};
}