pythonPackages.djangorestframework-jwt: init at 1.11.0

This commit is contained in:
ivegotasthma 2019-01-18 14:32:23 +02:00
parent c3b85e875a
commit 40d07176d2
No known key found for this signature in database
GPG Key ID: 09AC52AEA87817A4
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, fetchPypi
, django
, pyjwt
, djangorestframework
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "djangorestframework-jwt";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "19rng6v1sw14mbjp5cplnrgxjnhlj8faalfw02iihi9s5w1k7zjy";
};
propagatedBuildInputs = [ pyjwt django djangorestframework ];
# ./runtests.py fails because the project must be tested against a django
# installation, there are missing database tables for User, that don't exist.
doCheck = false;
meta = with lib; {
description = "JSON Web Token Authentication support for Django REST Framework";
homepage = https://github.com/GetBlimp/django-rest-framework-jwt;
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
};
}

View File

@ -2289,6 +2289,8 @@ in {
djangorestframework = callPackage ../development/python-modules/djangorestframework { };
djangorestframework-jwt = callPackage ../development/python-modules/djangorestframework-jwt { };
django-raster = callPackage ../development/python-modules/django-raster { };
django_redis = callPackage ../development/python-modules/django_redis { };