httpie: 3.0.2 -> 3.1.0

This commit is contained in:
Fabian Affolter 2022-03-16 10:12:26 +01:00
parent 8fdb59f98b
commit e961579cb7

View file

@ -1,19 +1,20 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, python3Packages , python3
, pandoc , pandoc
}: }:
python3Packages.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "httpie"; pname = "httpie";
version = "3.0.2"; version = "3.1.0";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "httpie"; owner = "httpie";
repo = "httpie"; repo = "httpie";
rev = version; rev = version;
sha256 = "sha256-s3IFzEUQmPBocgspVGx1nINkUamsi7tzwW37IqdBMxo="; hash = "sha256-x7Zucb2i8D4Xbn77eBzSxOAcc2fGg5MFKFiyJhytQ0s=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -21,7 +22,7 @@ python3Packages.buildPythonApplication rec {
pandoc pandoc
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3.pkgs; [
charset-normalizer charset-normalizer
defusedxml defusedxml
multidict multidict
@ -31,10 +32,11 @@ python3Packages.buildPythonApplication rec {
setuptools setuptools
]; ];
checkInputs = with python3Packages; [ checkInputs = with python3.pkgs; [
mock mock
pytest pytest
pytest-httpbin pytest-httpbin
pytest-lazy-fixture
pytestCheckHook pytestCheckHook
responses responses
]; ];
@ -65,7 +67,9 @@ python3Packages.buildPythonApplication rec {
"httpie.encoding.detect_encoding" "httpie.encoding.detect_encoding"
]; ];
pythonImportsCheck = [ "httpie" ]; pythonImportsCheck = [
"httpie"
];
meta = with lib; { meta = with lib; {
description = "A command line HTTP client whose goal is to make CLI human-friendly"; description = "A command line HTTP client whose goal is to make CLI human-friendly";