From c004f77a941fd92f60b130ffba0de7117e6d143c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20F=C3=B8llesdal?= Date: Thu, 12 May 2022 09:27:25 +0200 Subject: [PATCH] httpie: 3.1.0 -> 3.2.1 --- pkgs/tools/networking/httpie/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/networking/httpie/default.nix b/pkgs/tools/networking/httpie/default.nix index a6c6ddfe5bb..8590c85d2f3 100644 --- a/pkgs/tools/networking/httpie/default.nix +++ b/pkgs/tools/networking/httpie/default.nix @@ -7,14 +7,14 @@ python3.pkgs.buildPythonApplication rec { pname = "httpie"; - version = "3.1.0"; + version = "3.2.1"; format = "setuptools"; src = fetchFromGitHub { owner = "httpie"; repo = "httpie"; rev = version; - hash = "sha256-x7Zucb2i8D4Xbn77eBzSxOAcc2fGg5MFKFiyJhytQ0s="; + hash = "sha256-WEe8zSlNckl7bPBi6u8mHQ1/xPw3kE81F8Xr15TchgM="; }; nativeBuildInputs = [ @@ -30,15 +30,18 @@ python3.pkgs.buildPythonApplication rec { requests requests-toolbelt setuptools + rich + pysocks ]; checkInputs = with python3.pkgs; [ - mock pytest pytest-httpbin pytest-lazy-fixture + pytest-mock pytestCheckHook responses + werkzeug ]; postInstall = '' @@ -58,15 +61,6 @@ python3.pkgs.buildPythonApplication rec { "tests" ]; - disabledTests = [ - "test_chunked" - "test_verbose_chunked" - "test_multipart_chunked" - "test_request_body_from_file_by_path_chunked" - # Part of doctest - "httpie.encoding.detect_encoding" - ]; - pythonImportsCheck = [ "httpie" ];