Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }: 2 3buildPythonPackage rec { 4 pname = "djangorestframework_simplejwt"; 5 version = "4.6.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "7adc913ba0d2ed7f46e0b9bf6e86f9bd9248f1c4201722b732b8213e0ea66f9f"; 10 }; 11 12 propagatedBuildInputs = [ django djangorestframework pyjwt ]; 13 14 # Test raises django.core.exceptions.ImproperlyConfigured 15 doCheck = false; 16 17 meta = with lib; { 18 description = "A minimal JSON Web Token authentication plugin for Django REST Framework"; 19 homepage = "https://github.com/davesque/django-rest-framework-simplejwt"; 20 license = licenses.mit; 21 maintainers = [ maintainers.arnoldfarkas ]; 22 }; 23}