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