Merge pull request #174998 from fabaff/cbor2-bump

python310Packages.cbor2: 5.4.2.post1 -> 5.4.3
This commit is contained in:
Fabian Affolter 2022-05-28 21:08:42 +02:00 committed by GitHub
commit 51bdca2cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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