Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 29 lines 660 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6 7buildPythonPackage rec { 8 version = "1.0.1"; 9 pname = "dj-email-url"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "32dc567c5cc3d4106710ec36dd645c8c1b20e2d8f588a17ab88bcc23e347d00a"; 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}