14 buildPythonPackage rec {
15 pname = "django-timezone-field";
17 disabled = pythonOlder "3.5";
20 src = fetchFromGitHub {
24 sha256 = "sha256-GXkvF/kAOU1JK0GDpUT1irCQlkxIWieYRqPd0fr2HXw=";
31 propagatedBuildInputs = [
37 pythonImportsCheck = [
41 # Uses pytest.lazy_fixture directly which is broken in pytest-lazy-fixture
42 # https://github.com/TvoroG/pytest-lazy-fixture/issues/22
45 DJANGO_SETTINGS_MODULE = "tests.settings";
53 ${python.interpreter} -m django test
57 description = "Django app providing database, form and serializer fields for pytz timezone objects";
58 homepage = "https://github.com/mfogel/django-timezone-field";
59 license = licenses.bsd2;
60 maintainers = with maintainers; [ hexa ];