Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / djangorestframework-recursive / default.nix
blobd4a96d679522b708e162ee907606459577850b21
1 { lib
2 , buildPythonPackage
3 , django
4 , djangorestframework
5 , fetchFromGitHub
6 }:
8 buildPythonPackage rec {
9   pname = "djangorestframework-recursive";
10   version = "0.1.2";
12   src = fetchFromGitHub {
13     owner = "heywbj";
14     repo = "django-rest-framework-recursive";
15     rev = version;
16     hash = "sha256-Q/6yxpz3c402sMZudAeFIht9+5GmTRlzM51AMAx5muY=";
17   };
19   propagatedBuildInputs = [
20     django
21     djangorestframework
22   ];
24   # incompatible with newer django versions
25   doCheck = false;
27   pythonImportsCheck = [
28     "rest_framework_recursive"
29   ];
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 = with maintainers; [ ];
36   };