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