2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-25 20:22:12 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-01-31 05:13:32 +00:00
|
|
|
version = "1.0.2";
|
2018-10-25 20:22:12 +01:00
|
|
|
pname = "dj-email-url";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-31 05:13:32 +00:00
|
|
|
sha256 = "838fd4ded9deba53ae757debef431e25fa7fca31d3948b3c4808ccdc84fab2b7";
|
2018-10-25 20:22:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test_dj_email_url.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
}
|