summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-rabbitair/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-rabbitair/default.nix')
-rw-r--r--pkgs/development/python-modules/python-rabbitair/default.nix33
1 files changed, 14 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/python-rabbitair/default.nix b/pkgs/development/python-modules/python-rabbitair/default.nix
index 28c0ab9f4e56..fee2f88d5038 100644
--- a/pkgs/development/python-modules/python-rabbitair/default.nix
+++ b/pkgs/development/python-modules/python-rabbitair/default.nix
@@ -1,13 +1,14 @@
-{ lib
-, buildPythonPackage
-, cryptography
-, fetchFromGitHub
-, pytest-asyncio
-, pytestCheckHook
-, pythonOlder
-, setuptools
-, typing-extensions
-, zeroconf
+{
+ lib,
+ buildPythonPackage,
+ cryptography,
+ fetchFromGitHub,
+ pytest-asyncio,
+ pytestCheckHook,
+ pythonOlder,
+ setuptools,
+ typing-extensions,
+ zeroconf,
}:
buildPythonPackage rec {
@@ -24,25 +25,19 @@ buildPythonPackage rec {
hash = "sha256-CGr7NvnGRNTiKq5BpB/zmfgyd/2ggTbO0nj+Q+MavTs=";
};
- nativeBuildInputs = [
- setuptools
- ];
+ nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
cryptography
zeroconf
- ] ++ lib.optionals (pythonOlder "3.8") [
- typing-extensions
- ];
+ ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
- pythonImportsCheck = [
- "rabbitair"
- ];
+ pythonImportsCheck = [ "rabbitair" ];
disabledTests = [
# Tests require network access