1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 django, 6 six, 7 pytest-django, 8 setuptools, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "django-annoying"; 14 version = "0.10.8"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "skorokithakis"; 19 repo = "django-annoying"; 20 tag = "v${version}"; 21 hash = "sha256-zBOHVar4iKb+BioIwmDosNZKi/0YcjYfBusn0Lv8pMw="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 django 28 six 29 ]; 30 31 DJANGO_SETTINGS_MODULE = "tests.settings"; 32 33 nativeCheckInputs = [ 34 pytest-django 35 pytestCheckHook 36 ]; 37 38 meta = with lib; { 39 description = "Django application that tries to eliminate annoying things in the Django framework"; 40 homepage = "https://skorokithakis.github.io/django-annoying/"; 41 changelog = "https://github.com/skorokithakis/django-annoying/releases/tag/v$version"; 42 license = licenses.bsd3; 43 maintainers = with maintainers; [ ambroisie ]; 44 }; 45}