16 buildPythonPackage rec {
17 pname = "django-auditlog";
21 src = fetchFromGitHub {
23 repo = "django-auditlog";
25 hash = "sha256-SJ4GJp/gVIxiLbdAj3ZS+weevqIDZCMQnW/pqc5liJU=";
33 propagatedBuildInputs = [
45 postgresqlTestUserOptions = "LOGIN SUPERUSER";
50 # strip escape codes otherwise tests fail
51 # see https://github.com/jazzband/django-auditlog/issues/644
52 TEST_DB_USER=$PGUSER \
53 TEST_DB_HOST=$PGHOST \
54 ${python.interpreter} runtests.py | cat
59 pythonImportsCheck = [ "auditlog" ];
62 changelog = "https://github.com/jazzband/django-auditlog/blob/v${version}/CHANGELOG.md";
63 description = "Django app that keeps a log of changes made to an object";
64 downloadPage = "https://github.com/jazzband/django-auditlog";
65 license = licenses.mit;
66 maintainers = with maintainers; [ leona ];