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