depot/third_party/nixpkgs/pkgs/development/python-modules/dj-email-url/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

29 lines
660 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
version = "1.0.1";
pname = "dj-email-url";
src = fetchPypi {
inherit pname version;
sha256 = "32dc567c5cc3d4106710ec36dd645c8c1b20e2d8f588a17ab88bcc23e347d00a";
};
checkPhase = ''
${python.interpreter} test_dj_email_url.py
'';
# tests not included with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/migonzalvar/dj-email-url";
description = "Use an URL to configure email backend settings in your Django Application";
license = licenses.bsd0;
maintainers = [ maintainers.costrouc ];
};
}