Merge pull request #174567 from SuperSandro2000/django-rest-polymorphic

python310Packages.django-rest-polymorphic: init at 0.1.9

authored by Sandro and committed by GitHub 349172e7 27d54ad2

+47
+45
pkgs/development/python-modules/django-rest-polymorphic/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , django 5 + , django-polymorphic 6 + , djangorestframework 7 + , pytest-django 8 + , pytest-mock 9 + , pytestCheckHook 10 + , six 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "django-rest-polymorphic"; 15 + version = "0.1.9"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "apirobot"; 19 + repo = "django-rest-polymorphic"; 20 + rev = "v${version}"; 21 + sha256 = "sha256-p3ew2NONSyiGzDzxGTy/cx3fcQhhvnzqopJzgqhXadY="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + django 26 + django-polymorphic 27 + djangorestframework 28 + six 29 + ]; 30 + 31 + checkInputs = [ 32 + pytest-django 33 + pytest-mock 34 + pytestCheckHook 35 + ]; 36 + 37 + pythonImportsCheck = [ "rest_polymorphic" ]; 38 + 39 + meta = with lib; { 40 + description = "Polymorphic serializers for Django REST Framework"; 41 + homepage = "https://github.com/apirobot/django-rest-polymorphic"; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ SuperSandro2000 ]; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 2384 2384 2385 2385 django-rest-auth = callPackage ../development/python-modules/django-rest-auth { }; 2386 2386 2387 + django-rest-polymorphic = callPackage ../development/python-modules/django-rest-polymorphic { }; 2388 + 2387 2389 django-rq = callPackage ../development/python-modules/django-rq { }; 2388 2390 2389 2391 djangorestframework = callPackage ../development/python-modules/djangorestframework { };