initial commit
This commit is contained in:
commit
1a8a6b7927
6 changed files with 175 additions and 0 deletions
23
django-post_office/default.nix
Normal file
23
django-post_office/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue