Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / drf-writable-nested / default.nix
blob2368c584a457c20982c5023d4e52f27a405ab2dd
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , django
5 , djangorestframework
6 , pytestCheckHook
7 , pytest-django
8 }:
10 buildPythonPackage rec {
11   pname = "drf-writable-nested";
12   version = "0.7.0";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "beda-software";
17     repo = "drf-writable-nested";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-/7MZAw0clzzlBdYchUVKldWT7WqtwdSe+016QAP0hqk=";
20   };
22   propagatedBuildInputs = [
23     django
24     djangorestframework
25   ];
27   nativeCheckInputs = [
28     pytest-django
29     pytestCheckHook
30   ];
32   meta = with lib; {
33     description = "Writable nested model serializer for Django REST Framework";
34     homepage = "https://github.com/beda-software/drf-writable-nested";
35     license = licenses.bsd2;
36     maintainers = with maintainers; [ ambroisie ];
37   };