1{
2 lib,
3 buildPythonPackage,
4 django,
5 djangorestframework,
6 fetchFromGitHub,
7}:
8
9buildPythonPackage rec {
10 pname = "djangorestframework-recursive";
11 version = "0.1.2";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "heywbj";
16 repo = "django-rest-framework-recursive";
17 rev = version;
18 hash = "sha256-Q/6yxpz3c402sMZudAeFIht9+5GmTRlzM51AMAx5muY=";
19 };
20
21 propagatedBuildInputs = [
22 django
23 djangorestframework
24 ];
25
26 # incompatible with newer django versions
27 doCheck = false;
28
29 pythonImportsCheck = [ "rest_framework_recursive" ];
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 = [ ];
36 };
37}