nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6}:
7
8buildPythonPackage rec {
9 pname = "dj-email-url";
10 version = "1.0.6";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-Vf/jMp5I9U+Kdao27OCPNl4J1h+KIJdz7wmh1HYOaZo=";
16 };
17
18 checkPhase = ''
19 ${python.interpreter} test_dj_email_url.py
20 '';
21
22 # tests not included with pypi release
23 doCheck = false;
24
25 meta = {
26 description = "Use an URL to configure email backend settings in your Django Application";
27 homepage = "https://github.com/migonzalvar/dj-email-url";
28 license = lib.licenses.bsd0;
29 maintainers = [ ];
30 };
31}