blob: 966e07b48e2ad601185bc9646a6d3463c327b4ae (
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
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
djangorestframework,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage (finalAttrs: {
pname = "drf-writable-nested";
version = "0.7.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "beda-software";
repo = "drf-writable-nested";
tag = "v${finalAttrs.version}";
hash = "sha256-VkQ3Di3vXxQAmvuMP8KpGVVdx7LMYcQFEF4ZsuA9KeA=";
};
propagatedBuildInputs = [
django
djangorestframework
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
meta = {
description = "Writable nested model serializer for Django REST Framework";
homepage = "https://github.com/beda-software/drf-writable-nested";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ambroisie ];
};
})
|