python310Packages.drf-writable-nested: init at 0.6.4

This commit is contained in:
Bruno BELANYI 2021-11-28 17:49:09 +01:00
parent c9185dbf91
commit 81ab6b593b
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, djangorestframework
, pytestCheckHook
, pytest-django
}:
buildPythonPackage rec {
pname = "drf-writable-nested";
version = "0.6.4";
src = fetchFromGitHub {
owner = "beda-software";
repo = "drf-writable-nested";
rev = "v${version}";
sha256 = "sha256-RybtXZ5HipQHaA2RV6TOKIpl6aI9V49mqXDhCH6lg58=";
};
propagatedBuildInputs = [
django
djangorestframework
];
checkInputs = [
pytest-django
pytestCheckHook
];
meta = with lib; {
description = "Writable nested model serializer for Django REST Framework";
homepage = "https://github.com/beda-software/drf-writable-nested";
license = licenses.bsd2;
maintainers = with maintainers; [ ambroisie ];
};
}

View File

@ -2808,6 +2808,8 @@ in {
drf-spectacular-sidecar = callPackage ../development/python-modules/drf-spectacular-sidecar { };
drf-writable-nested = callPackage ../development/python-modules/drf-writable-nested { };
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
drivelib = callPackage ../development/python-modules/drivelib { };