python310Packages.djangorestframework-recursive: init at 0.1.2

This commit is contained in:
Sandro Jäckel 2022-05-25 20:05:27 +02:00
parent fa231f67d5
commit e004ecff1c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, django
, djangorestframework
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "djangorestframework-recursive";
version = "0.1.2";
src = fetchFromGitHub {
owner = "heywbj";
repo = "django-rest-framework-recursive";
rev = version;
sha256 = "sha256-Q/6yxpz3c402sMZudAeFIht9+5GmTRlzM51AMAx5muY=";
};
propagatedBuildInputs = [
django
djangorestframework
];
# incompatible with newer django versions
doCheck = false;
pythonImportsCheck = [
"rest_framework_recursive"
];
meta = with lib; {
description = " Recursive Serialization for Django REST framework ";
homepage = "https://github.com/heywbj/django-rest-framework-recursive";
license = licenses.isc;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -2394,6 +2394,8 @@ in {
djangorestframework-camel-case = callPackage ../development/python-modules/djangorestframework-camel-case { };
djangorestframework-recursive = callPackage ../development/python-modules/djangorestframework-recursive { };
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
django_reversion = callPackage ../development/python-modules/django_reversion { };