mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.djangorestframework-simplejwt: init at 4.4.0
This commit is contained in:
parent
4d80baf9b8
commit
642134d5ad
2 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "djangorestframework_simplejwt";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c315be70aa12a5f5790c0ab9acd426c3a58eebea65a77d0893248c5144a5080c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django djangorestframework pyjwt ];
|
||||
|
||||
# Test raises django.core.exceptions.ImproperlyConfigured
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A minimal JSON Web Token authentication plugin for Django REST Framework";
|
||||
homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
};
|
||||
}
|
|
@ -3327,6 +3327,8 @@ in {
|
|||
|
||||
djangorestframework-jwt = callPackage ../development/python-modules/djangorestframework-jwt { };
|
||||
|
||||
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
|
||||
|
||||
django-raster = callPackage ../development/python-modules/django-raster { };
|
||||
|
||||
django_redis = callPackage ../development/python-modules/django_redis { };
|
||||
|
|
Loading…
Reference in a new issue