1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 django, 6 djangorestframework, 7 pytestCheckHook, 8 pytest-django, 9 ipdb, 10}: 11 12buildPythonPackage rec { 13 pname = "drf-nested-routers"; 14 version = "0.95.0"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "alanjds"; 19 repo = "drf-nested-routers"; 20 tag = "v${version}"; 21 hash = "sha256-9oB6pmhZJVvVJeueY44q9ST1JgjmK1FF8QMx7mX5ZFI="; 22 }; 23 24 buildInputs = [ django ]; 25 26 propagatedBuildInputs = [ djangorestframework ]; 27 28 nativeCheckInputs = [ 29 ipdb 30 pytestCheckHook 31 pytest-django 32 ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/alanjds/drf-nested-routers"; 36 changelog = "https://github.com/alanjds/drf-nested-routers/blob/v${version}/CHANGELOG.md"; 37 description = "Provides routers and fields to create nested resources in the Django Rest Framework"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ felschr ]; 40 }; 41}