2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-25 19:22:12 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
2022-09-25 06:49:26 +00:00
|
|
|
, pythonOlder
|
2018-10-25 19:22:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dj-email-url";
|
2022-09-25 06:49:26 +00:00
|
|
|
version = "1.0.6";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-10-25 19:22:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-25 06:49:26 +00:00
|
|
|
hash = "sha256-Vf/jMp5I9U+Kdao27OCPNl4J1h+KIJdz7wmh1HYOaZo=";
|
2018-10-25 19:22:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test_dj_email_url.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-25 19:22:12 +00:00
|
|
|
description = "Use an URL to configure email backend settings in your Django Application";
|
2022-09-25 06:49:26 +00:00
|
|
|
homepage = "https://github.com/migonzalvar/dj-email-url";
|
2018-10-25 19:22:12 +00:00
|
|
|
license = licenses.bsd0;
|
2022-09-25 06:49:26 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2018-10-25 19:22:12 +00:00
|
|
|
};
|
|
|
|
}
|