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.6.4"; 13 14 src = fetchFromGitHub { 15 owner = "beda-software"; 16 repo = "drf-writable-nested"; 17 rev = "v${version}"; 18 sha256 = "sha256-RybtXZ5HipQHaA2RV6TOKIpl6aI9V49mqXDhCH6lg58="; 19 }; 20 21 propagatedBuildInputs = [ 22 django 23 djangorestframework 24 ]; 25 26 checkInputs = [ 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}