1{ lib 2, buildPythonPackage 3, django 4, fetchPypi 5, pytestCheckHook 6, pythonOlder 7, typing-extensions 8}: 9 10buildPythonPackage rec { 11 pname = "django-stubs-ext"; 12 version = "4.2.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-xp0cxG8cTDt4lLaFpQIsKbKjbHz7UuI3YurzV+v8LJg="; 20 }; 21 22 propagatedBuildInputs = [ 23 django 24 typing-extensions 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "django_stubs_ext" 33 ]; 34 35 meta = with lib; { 36 description = "Extensions and monkey-patching for django-stubs"; 37 homepage = "https://github.com/typeddjango/django-stubs"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ elohmeier ]; 40 }; 41}