summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-httpserver
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 16:01:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 17:32:03 +0200
commit59b1aef59071cae6e87859dc65de973d2cc595c0 (patch)
tree18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/pytest-httpserver
parent691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff)
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpserver')
-rw-r--r--pkgs/development/python-modules/pytest-httpserver/default.nix31
1 files changed, 13 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix
index 5759f180ff70..152223f2ea5c 100644
--- a/pkgs/development/python-modules/pytest-httpserver/default.nix
+++ b/pkgs/development/python-modules/pytest-httpserver/default.nix
@@ -1,12 +1,13 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, poetry-core
-, pytestCheckHook
-, pythonOlder
-, requests
-, toml
-, werkzeug
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ poetry-core,
+ pytestCheckHook,
+ pythonOlder,
+ requests,
+ toml,
+ werkzeug,
}:
buildPythonPackage rec {
@@ -23,13 +24,9 @@ buildPythonPackage rec {
hash = "sha256-KCsZs4MGENByF/wB+aj3yvMp7lssHNVKx8jLhDQ1u4k=";
};
- nativeBuildInputs = [
- poetry-core
- ];
+ nativeBuildInputs = [ poetry-core ];
- propagatedBuildInputs = [
- werkzeug
- ];
+ propagatedBuildInputs = [ werkzeug ];
nativeCheckInputs = [
pytestCheckHook
@@ -43,9 +40,7 @@ buildPythonPackage rec {
"test_wait_raise_assertion_false" # racy
];
- pythonImportsCheck = [
- "pytest_httpserver"
- ];
+ pythonImportsCheck = [ "pytest_httpserver" ];
meta = with lib; {
description = "HTTP server for pytest to test HTTP clients";