2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, django, pytest, pytest-django }:
|
2019-07-10 15:17:43 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-logentry-admin";
|
2021-06-19 01:39:05 +00:00
|
|
|
version = "1.1.0";
|
2019-07-10 15:17:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yprez";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-19 01:39:05 +00:00
|
|
|
sha256 = "1bndxgvisw8kk52zfdifvly6dl4833wqilxf77pg473172yaf5gq";
|
2019-07-10 15:17:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 15:17:43 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|