diff options
Diffstat (limited to 'pkgs/development/python-modules/telegraph/default.nix')
-rw-r--r-- | pkgs/development/python-modules/telegraph/default.nix | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/telegraph/default.nix b/pkgs/development/python-modules/telegraph/default.nix index b6bca3a357a31..387c7034bb82d 100644 --- a/pkgs/development/python-modules/telegraph/default.nix +++ b/pkgs/development/python-modules/telegraph/default.nix @@ -1,10 +1,11 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder -, requests -, httpx -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + requests, + httpx, + pytestCheckHook, }: buildPythonPackage rec { @@ -21,33 +22,21 @@ buildPythonPackage rec { hash = "sha256-xARX8lSOftNVYY4InR5vU4OiguCJJJZv/W76G9eLgNY="; }; - propagatedBuildInputs = [ - requests - ]; + propagatedBuildInputs = [ requests ]; passthru.optional-dependencies = { - aio = [ - httpx - ]; + aio = [ httpx ]; }; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pytestFlagsArray = [ - "tests/" - ]; + pytestFlagsArray = [ "tests/" ]; - disabledTests = [ - "test_get_page" - ]; + disabledTests = [ "test_get_page" ]; doCheck = true; - pythonImportsCheck = [ - "telegraph" - ]; + pythonImportsCheck = [ "telegraph" ]; meta = with lib; { description = "Telegraph API wrapper"; @@ -57,4 +46,3 @@ buildPythonPackage rec { maintainers = with maintainers; [ gp2112 ]; }; } - |