python310Packages.dj-database-url: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-04-28 08:37:07 +02:00 committed by GitHub
parent 333e5b3a37
commit 3a5e025fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, django , django
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -9,6 +10,8 @@ buildPythonPackage rec {
version = "2.0.0"; version = "2.0.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-o1qfD0N3XKb5DYGdxFYjPve8x2tHN31dkIt1x+syBiQ="; hash = "sha256-o1qfD0N3XKb5DYGdxFYjPve8x2tHN31dkIt1x+syBiQ=";