tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.freezegun: 1.2.1 -> 1.2.2
Martin Weinelt
3 years ago
f75b8276
cf9ae523
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
freezegun
default.nix
+3
-3
pkgs/development/python-modules/freezegun/default.nix
···
10
11
buildPythonPackage rec {
12
pname = "freezegun";
13
-
version = "1.2.1";
14
format = "setuptools";
15
16
disabled = pythonOlder "3.6";
17
18
src = fetchPypi {
19
inherit pname version;
20
-
hash = "sha256-tMZO+ydea8aNxudxsX/+D/D5C4GipRiQQ1ULZRmSa6Q=";
21
};
22
23
patches = lib.optionals (pythonAtLeast "3.10") [
24
# Staticmethods in 3.10+ are now callable, prevent freezegun to attempt to decorate them
25
(fetchpatch {
26
url = "https://github.com/spulec/freezegun/pull/397/commits/e63874ce75a74a1159390914045fe8e7955b24c4.patch";
27
-
sha256 = "sha256-FNABqVN5DFqVUR88lYzwbfsZj3xcB9/MvQtm+I2VjnI=";
28
})
29
];
30
···
10
11
buildPythonPackage rec {
12
pname = "freezegun";
13
+
version = "1.2.2";
14
format = "setuptools";
15
16
disabled = pythonOlder "3.6";
17
18
src = fetchPypi {
19
inherit pname version;
20
+
hash = "sha256-zSLRugaUE4RBDNln2KmdWuJEL1ffr+/y/aXejcXAVEY=";
21
};
22
23
patches = lib.optionals (pythonAtLeast "3.10") [
24
# Staticmethods in 3.10+ are now callable, prevent freezegun to attempt to decorate them
25
(fetchpatch {
26
url = "https://github.com/spulec/freezegun/pull/397/commits/e63874ce75a74a1159390914045fe8e7955b24c4.patch";
27
+
hash = "sha256-FNABqVN5DFqVUR88lYzwbfsZj3xcB9/MvQtm+I2VjnI=";
28
})
29
];
30