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 {
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"
];

Loading…
Cancel
Save