Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
991 B · 49 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, django, djangorestframework, fetchPypi, pyjwt, python-jose, pythonOlder, setuptools-scm}:
buildPythonPackage rec { pname = "djangorestframework-simplejwt"; version = "5.2.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { pname = "djangorestframework_simplejwt"; inherit version; hash = "sha256-0n1LysLGOU9njeqLTQ1RHG4Yp/Lriq7rin3mAa63fEI="; };
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 = "JSON Web Token authentication plugin for Django REST Framework"; homepage = "https://github.com/davesque/django-rest-framework-simplejwt"; license = licenses.mit; maintainers = with maintainers; [ arnoldfarkas ]; };}