16 buildPythonPackage rec {
20 disabled = pythonOlder "3.7";
25 hash = "sha256-gpaPNkDinvSnc68sKESPX3oI0AHGrAWzLQKu7mUJUIs=";
30 src = ./django_3_set_zoneinfo_dir.patch;
31 zoneinfo = tzdata + "/share/zoneinfo";
33 ] ++ lib.optional withGdal
35 src = ./django_3_set_geos_gdal_lib.patch;
38 extension = stdenv.hostPlatform.extensions.sharedLibrary;
41 propagatedBuildInputs = [
47 # too complicated to setup
50 pythonImportsCheck = [ "django" ];
53 description = "A high-level Python Web framework";
54 homepage = "https://www.djangoproject.com/";
55 license = licenses.bsd3;
56 maintainers = with maintainers; [ georgewhewell ];