1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "dj-email-url";
11 version = "1.0.6";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-Vf/jMp5I9U+Kdao27OCPNl4J1h+KIJdz7wmh1HYOaZo=";
19 };
20
21 checkPhase = ''
22 ${python.interpreter} test_dj_email_url.py
23 '';
24
25 # tests not included with pypi release
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Use an URL to configure email backend settings in your Django Application";
30 homepage = "https://github.com/migonzalvar/dj-email-url";
31 license = licenses.bsd0;
32 maintainers = [ ];
33 };
34}