httpie: 3.1.0 -> 3.2.1

main
Kristoffer Føllesdal 2 years ago
parent 82440c9374
commit c004f77a94
  1. 18
      pkgs/tools/networking/httpie/default.nix

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "httpie"; pname = "httpie";
version = "3.1.0"; version = "3.2.1";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "httpie"; owner = "httpie";
repo = "httpie"; repo = "httpie";
rev = version; rev = version;
hash = "sha256-x7Zucb2i8D4Xbn77eBzSxOAcc2fGg5MFKFiyJhytQ0s="; hash = "sha256-WEe8zSlNckl7bPBi6u8mHQ1/xPw3kE81F8Xr15TchgM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -30,15 +30,18 @@ python3.pkgs.buildPythonApplication rec {
requests requests
requests-toolbelt requests-toolbelt
setuptools setuptools
rich
pysocks
]; ];
checkInputs = with python3.pkgs; [ checkInputs = with python3.pkgs; [
mock
pytest pytest
pytest-httpbin pytest-httpbin
pytest-lazy-fixture pytest-lazy-fixture
pytest-mock
pytestCheckHook pytestCheckHook
responses responses
werkzeug
]; ];
postInstall = '' postInstall = ''
@ -58,15 +61,6 @@ python3.pkgs.buildPythonApplication rec {
"tests" "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 = [ pythonImportsCheck = [
"httpie" "httpie"
]; ];

Loading…
Cancel
Save