Merge pull request #64579 from MrMebelMan/init/django-logentry-admin

pythonPackages.django-logentry-admin: init at 1.0.4
This commit is contained in:
Marek Mahut 2019-08-13 10:21:43 +02:00 committed by GitHub
commit 1d37178f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, django, pytest, pytest-django }:
buildPythonPackage rec {
pname = "django-logentry-admin";
version = "1.0.4";
src = fetchFromGitHub {
owner = "yprez";
repo = pname;
rev = "v${version}";
sha256 = "1ji04qklzhjb7fx6644vzikjb2196rxyi8hrwf2knsz41ndvq1l9";
};
checkInputs = [ pytest pytest-django ];
checkPhase = ''
rm -r logentry_admin __init__.py
pytest
'';
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
description = "Show all LogEntry objects in the Django admin site";
homepage = "https://github.com/yprez/django-logentry-admin";
license = licenses.isc;
maintainers = with maintainers; [ mrmebelman ];
};
}

View File

@ -2820,6 +2820,8 @@ in {
django-jinja = callPackage ../development/python-modules/django-jinja2 { };
django-logentry-admin = callPackage ../development/python-modules/django-logentry-admin { };
django-pglocks = callPackage ../development/python-modules/django-pglocks { };
django-picklefield = callPackage ../development/python-modules/django-picklefield { };