2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, django, pytest, pytest-django }:
|
2019-07-10 16:17:43 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-10 16:17:43 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|