diff --git a/pkgs/development/python-modules/dj-database-url/default.nix b/pkgs/development/python-modules/dj-database-url/default.nix index 0ee9c7fe9ce4..5c70d43df439 100644 --- a/pkgs/development/python-modules/dj-database-url/default.nix +++ b/pkgs/development/python-modules/dj-database-url/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , django +, pythonOlder }: buildPythonPackage rec { @@ -9,6 +10,8 @@ buildPythonPackage rec { version = "2.0.0"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; hash = "sha256-o1qfD0N3XKb5DYGdxFYjPve8x2tHN31dkIt1x+syBiQ=";