python310Packages.dj-email-url: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-09-25 08:49:26 +02:00 committed by GitHub
parent 86f15e11b5
commit 4afb3c31c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,19 @@
, buildPythonPackage
, fetchPypi
, python
, pythonOlder
}:
buildPythonPackage rec {
version = "1.0.6";
pname = "dj-email-url";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Vf/jMp5I9U+Kdao27OCPNl4J1h+KIJdz7wmh1HYOaZo=";
hash = "sha256-Vf/jMp5I9U+Kdao27OCPNl4J1h+KIJdz7wmh1HYOaZo=";
};
checkPhase = ''
@ -21,9 +25,9 @@ buildPythonPackage rec {
doCheck = false;
meta = with lib; {
homepage = "https://github.com/migonzalvar/dj-email-url";
description = "Use an URL to configure email backend settings in your Django Application";
homepage = "https://github.com/migonzalvar/dj-email-url";
license = licenses.bsd0;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}