initial commit

This commit is contained in:
Trolli Schmittlauch 2019-10-09 00:53:54 +02:00
commit 1a8a6b7927
6 changed files with 175 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchFromGitHub,
django, jsonfield, tox}:
buildPythonPackage rec {
pname = "django-post_office";
version = "3.2.1";
src = fetchFromGitHub {
owner = "ui";
repo = pname;
rev = "v${version}";
sha256 = "sha256:12ccqa3168n0s8mqgywbg87qk72yh9salqxafcq4nc4lc3mcsmyj";
};
propagatedBuildInputs = [ django jsonfield ];
checkInputs = [ tox django jsonfield ];
checkPhase = ''
django-admin.py test post_office --settings=post_office.test_settings --pythonpath=.
'';
meta = {
description = "A Django app to monitor and send mail asynchronously, complete with template support.";
maintainers = with lib.maintainers; [ schmittlauch ];
license = lib.licenses.mit;
};
}