depot/third_party/nixpkgs/pkgs/development/python-modules/dj-email-url/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
650 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
version = "1.0.2";
pname = "dj-email-url";
src = fetchPypi {
inherit pname version;
sha256 = "838fd4ded9deba53ae757debef431e25fa7fca31d3948b3c4808ccdc84fab2b7";
};
checkPhase = ''
${python.interpreter} test_dj_email_url.py
'';
# tests not included with pypi release
doCheck = false;
meta = with 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 ];
};
}