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