2018-10-25 20:22:12 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:47:04 +01:00
|
|
|
version = "1.0.1";
|
2018-10-25 20:22:12 +01:00
|
|
|
pname = "dj-email-url";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:04 +01:00
|
|
|
sha256 = "32dc567c5cc3d4106710ec36dd645c8c1b20e2d8f588a17ab88bcc23e347d00a";
|
2018-10-25 20:22:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test_dj_email_url.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/migonzalvar/dj-email-url";
|
2018-10-25 20:22:12 +01:00
|
|
|
description = "Use an URL to configure email backend settings in your Django Application";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|