python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / drf-writable-nested / default.nix
blob1f62492ee483589528485e9c0c90c173a6086d8c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   django,
6   djangorestframework,
7   pytestCheckHook,
8   pytest-django,
9 }:
11 buildPythonPackage rec {
12   pname = "drf-writable-nested";
13   version = "0.7.1";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "beda-software";
18     repo = "drf-writable-nested";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-+I5HsqkjCrkF9MV90NGQuUhmLcDVsv20QIyDK9WxwdQ=";
21   };
23   propagatedBuildInputs = [
24     django
25     djangorestframework
26   ];
28   nativeCheckInputs = [
29     pytest-django
30     pytestCheckHook
31   ];
33   meta = with lib; {
34     description = "Writable nested model serializer for Django REST Framework";
35     homepage = "https://github.com/beda-software/drf-writable-nested";
36     license = licenses.bsd2;
37     maintainers = with maintainers; [ ambroisie ];
38   };