python310Packages.django-rest-polymorphic: init at 0.1.9
This commit is contained in:
parent
8dc951af1d
commit
0b17f1cf02
@ -0,0 +1,45 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, django
|
||||||
|
, django-polymorphic
|
||||||
|
, djangorestframework
|
||||||
|
, pytest-django
|
||||||
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-rest-polymorphic";
|
||||||
|
version = "0.1.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "apirobot";
|
||||||
|
repo = "django-rest-polymorphic";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-p3ew2NONSyiGzDzxGTy/cx3fcQhhvnzqopJzgqhXadY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
django-polymorphic
|
||||||
|
djangorestframework
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-django
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "rest_polymorphic" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Polymorphic serializers for Django REST Framework";
|
||||||
|
homepage = "https://github.com/apirobot/django-rest-polymorphic";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2384,6 +2384,8 @@ in {
|
|||||||
|
|
||||||
django-rest-auth = callPackage ../development/python-modules/django-rest-auth { };
|
django-rest-auth = callPackage ../development/python-modules/django-rest-auth { };
|
||||||
|
|
||||||
|
django-rest-polymorphic = callPackage ../development/python-modules/django-rest-polymorphic { };
|
||||||
|
|
||||||
django-rq = callPackage ../development/python-modules/django-rq { };
|
django-rq = callPackage ../development/python-modules/django-rq { };
|
||||||
|
|
||||||
djangorestframework = callPackage ../development/python-modules/djangorestframework { };
|
djangorestframework = callPackage ../development/python-modules/djangorestframework { };
|
||||||
|
Loading…
Reference in New Issue
Block a user