1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, django 5, djangorestframework 6, pytestCheckHook 7, pytest-django 8}: 9 10buildPythonPackage rec { 11 pname = "drf-writable-nested"; 12 version = "0.7.0"; 13 14 src = fetchFromGitHub { 15 owner = "beda-software"; 16 repo = "drf-writable-nested"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-/7MZAw0clzzlBdYchUVKldWT7WqtwdSe+016QAP0hqk="; 19 }; 20 21 propagatedBuildInputs = [ 22 django 23 djangorestframework 24 ]; 25 26 nativeCheckInputs = [ 27 pytest-django 28 pytestCheckHook 29 ]; 30 31 meta = with lib; { 32 description = "Writable nested model serializer for Django REST Framework"; 33 homepage = "https://github.com/beda-software/drf-writable-nested"; 34 license = licenses.bsd2; 35 maintainers = with maintainers; [ ambroisie ]; 36 }; 37}