1{ lib
2, buildPythonPackage
3, django
4, djangorestframework
5, fetchFromGitHub
6}:
7
8buildPythonPackage rec {
9 pname = "djangorestframework-recursive";
10 version = "0.1.2";
11
12 src = fetchFromGitHub {
13 owner = "heywbj";
14 repo = "django-rest-framework-recursive";
15 rev = version;
16 sha256 = "sha256-Q/6yxpz3c402sMZudAeFIht9+5GmTRlzM51AMAx5muY=";
17 };
18
19 propagatedBuildInputs = [
20 django
21 djangorestframework
22 ];
23
24 # incompatible with newer django versions
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "rest_framework_recursive"
29 ];
30
31 meta = with lib; {
32 description = " Recursive Serialization for Django REST framework ";
33 homepage = "https://github.com/heywbj/django-rest-framework-recursive";
34 license = licenses.isc;
35 maintainers = with maintainers; [ SuperSandro2000 ];
36 };
37}