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