python3Packages.django-auditlog: 3.0.0 -> 3.1.2 (#408945)

authored by Sandro and committed by GitHub 312fbc61 6a7e4b16

+10 -8
+10 -8
pkgs/development/python-modules/django-auditlog/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "django-auditlog"; 19 - version = "3.0.0"; 19 + version = "3.1.2"; 20 20 pyproject = true; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "jazzband"; 24 24 repo = "django-auditlog"; 25 - rev = "v${version}"; 26 - hash = "sha256-SJ4GJp/gVIxiLbdAj3ZS+weevqIDZCMQnW/pqc5liJU="; 25 + tag = "v${version}"; 26 + hash = "sha256-xb6pTsXkB8HVpXvB9WzBUlRcjh5cn1CdmMYQQVCQ/GU="; 27 27 }; 28 28 29 29 nativeBuildInputs = [ ··· 50 50 checkPhase = '' 51 51 runHook preCheck 52 52 53 + cd auditlog_tests 53 54 # strip escape codes otherwise tests fail 54 55 # see https://github.com/jazzband/django-auditlog/issues/644 55 56 TEST_DB_USER=$PGUSER \ 56 57 TEST_DB_HOST=$PGHOST \ 57 - ${python.interpreter} runtests.py | cat 58 + ${python.interpreter} ./manage.py test | cat 59 + cd .. 58 60 59 61 runHook postCheck 60 62 ''; 61 63 62 64 pythonImportsCheck = [ "auditlog" ]; 63 65 64 - meta = with lib; { 65 - changelog = "https://github.com/jazzband/django-auditlog/blob/v${version}/CHANGELOG.md"; 66 + meta = { 67 + changelog = "https://github.com/jazzband/django-auditlog/blob/${src.tag}/CHANGELOG.md"; 66 68 description = "Django app that keeps a log of changes made to an object"; 67 69 downloadPage = "https://github.com/jazzband/django-auditlog"; 68 - license = licenses.mit; 69 - maintainers = with maintainers; [ leona ]; 70 + license = lib.licenses.mit; 71 + maintainers = with lib.maintainers; [ leona ]; 70 72 }; 71 73 }