1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 django, 6 pytest, 7 pytest-django, 8}: 9 10buildPythonPackage rec { 11 pname = "django-logentry-admin"; 12 version = "1.1.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "yprez"; 17 repo = "django-logentry-admin"; 18 rev = "v${version}"; 19 sha256 = "1bndxgvisw8kk52zfdifvly6dl4833wqilxf77pg473172yaf5gq"; 20 }; 21 22 nativeCheckInputs = [ 23 pytest 24 pytest-django 25 ]; 26 checkPhase = '' 27 rm -r logentry_admin __init__.py 28 pytest 29 ''; 30 31 propagatedBuildInputs = [ django ]; 32 33 meta = with lib; { 34 description = "Show all LogEntry objects in the Django admin site"; 35 homepage = "https://github.com/yprez/django-logentry-admin"; 36 license = licenses.isc; 37 maintainers = with maintainers; [ mrmebelman ]; 38 }; 39}