python3Packages.djangorestframework-simplejwt: add setuptools-scm
This commit is contained in:
parent
807370df94
commit
c8fff86cd6
@ -1,23 +1,45 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, djangorestframework
|
||||
, fetchPypi
|
||||
, pyjwt
|
||||
, python-jose
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "djangorestframework_simplejwt";
|
||||
pname = "djangorestframework-simplejwt";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "djangorestframework_simplejwt";
|
||||
inherit version;
|
||||
sha256 = "153c973c5c154baf566be431de8527c2bd62557fde7373ebcb0f02b73b28e07a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django djangorestframework pyjwt ];
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
djangorestframework
|
||||
pyjwt
|
||||
python-jose
|
||||
];
|
||||
|
||||
# Test raises django.core.exceptions.ImproperlyConfigured
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rest_framework_simplejwt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A minimal JSON Web Token authentication plugin for Django REST Framework";
|
||||
description = "JSON Web Token authentication plugin for Django REST Framework";
|
||||
homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
maintainers = with maintainers; [ arnoldfarkas ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user