python3Packages.envoy-reader: 0.19.0 -> 0.20.0

This commit is contained in:
Fabian Affolter 2021-09-06 12:29:32 +02:00
parent 14cd4bb1dd
commit 51170e3cb8

View File

@ -1,30 +1,27 @@
{ lib
, buildPythonPackage
, envoy-utils
, fetchFromGitHub
, httpx
, pytest-asyncio
, pytest-raises
, pytest-runner
, pytestCheckHook
, respx
}:
buildPythonPackage rec {
pname = "envoy-reader";
version = "0.19.0";
version = "0.20.0";
src = fetchFromGitHub {
owner = "jesserizzo";
repo = "envoy_reader";
rev = version;
sha256 = "0jyrgm7dc6k66c94gadc69a6xsv2b48wn3b3rbpwgbssi5s7iiz6";
sha256 = "sha256-nPB1Fvb1qwLHeFkXP2jXixD2ZGA09MtS1qXRhYGt0fM=";
};
nativeBuildInputs = [
pytest-runner
];
propagatedBuildInputs = [
envoy-utils
httpx
];
@ -35,6 +32,11 @@ buildPythonPackage rec {
respx
];
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner>=5.2" ""
'';
pythonImportsCheck = [ "envoy_reader" ];
meta = with lib; {