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