12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-sp3t/NptXo4IPOcbK1QnU61Iz+xEA3s/x5cC4pgKiek=";
24 build-system = [ setuptools ];
26 dependencies = [ python-dateutil ];
28 nativeCheckInputs = [ pytestCheckHook ];
30 disabledTests = lib.optionals (pythonAtLeast "3.13") [
31 # https://github.com/spulec/freezegun/issues/547
32 "test_method_decorator_works_on_unittest_kwarg_frozen_time"
33 "test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func"
34 "test_method_decorator_works_on_unittest_kwarg_hello"
37 pythonImportsCheck = [ "freezegun" ];
40 description = "Library that allows your Python tests to travel through time";
41 homepage = "https://github.com/spulec/freezegun";
42 changelog = "https://github.com/spulec/freezegun/blob/${version}/CHANGELOG";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ fab ];