python310Packages.cbor2: 5.4.2.post1 -> 5.4.3

This commit is contained in:
Fabian Affolter 2022-05-27 21:37:41 +02:00
parent 3e92b94120
commit 09d4959131

View File

@ -9,13 +9,14 @@
buildPythonPackage rec {
pname = "cbor2";
version = "5.4.2.post1";
version = "5.4.3";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-nPIdWWBLlSnXh3yOA0Ki66rhoH/o/1aD3HX+wVhHx5c=";
hash = "sha256-Yrhjxe5s7UAyr+lI88FITzdVUJldO4SYFFI3/ijlRsI=";
};
nativeBuildInputs = [
@ -27,8 +28,8 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov" ""
substituteInPlace pyproject.toml \
--replace " --cov" ""
'';
# https://github.com/agronholm/cbor2/issues/99