python3Packages.freezegun: 1.2.1 -> 1.2.2

This commit is contained in:
Martin Weinelt
2022-09-18 23:57:41 +02:00
parent cf9ae52369
commit f75b8276af
@@ -10,21 +10,21 @@
buildPythonPackage rec {
pname = "freezegun";
version = "1.2.1";
version = "1.2.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-tMZO+ydea8aNxudxsX/+D/D5C4GipRiQQ1ULZRmSa6Q=";
hash = "sha256-zSLRugaUE4RBDNln2KmdWuJEL1ffr+/y/aXejcXAVEY=";
};
patches = lib.optionals (pythonAtLeast "3.10") [
# Staticmethods in 3.10+ are now callable, prevent freezegun to attempt to decorate them
(fetchpatch {
url = "https://github.com/spulec/freezegun/pull/397/commits/e63874ce75a74a1159390914045fe8e7955b24c4.patch";
sha256 = "sha256-FNABqVN5DFqVUR88lYzwbfsZj3xcB9/MvQtm+I2VjnI=";
hash = "sha256-FNABqVN5DFqVUR88lYzwbfsZj3xcB9/MvQtm+I2VjnI=";
})
];