Merge pull request #174998 from fabaff/cbor2-bump

python310Packages.cbor2: 5.4.2.post1 -> 5.4.3

Changed files
+6 -5
pkgs
development
python-modules
cbor2
+6 -5
pkgs/development/python-modules/cbor2/default.nix
···
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 = [
···
];
postPatch = ''
-
substituteInPlace setup.cfg \
-
--replace "--cov" ""
+
substituteInPlace pyproject.toml \
+
--replace " --cov" ""
'';
# https://github.com/agronholm/cbor2/issues/99