diff options
author | Farkas, Arnold <arnold.farkas@worldquant.com> | 2020-01-21 11:16:02 -0500 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-29 22:52:33 -0800 |
commit | 642134d5ad76f19027fdd40cd1adcf18a0dea037 (patch) | |
tree | 3f2fd6f718a503386623dd9de3ba1a19c7bc21e0 /pkgs/development/python-modules/djangorestframework-simplejwt | |
parent | 4d80baf9b84d96767de76d1f21699cd63dc6e3a5 (diff) | |
download | nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar.gz nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar.bz2 nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar.lz nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar.xz nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.tar.zst nixpkgs-642134d5ad76f19027fdd40cd1adcf18a0dea037.zip |
pythonPackages.djangorestframework-simplejwt: init at 4.4.0
Diffstat (limited to 'pkgs/development/python-modules/djangorestframework-simplejwt')
-rw-r--r-- | pkgs/development/python-modules/djangorestframework-simplejwt/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix new file mode 100644 index 00000000000..626d704f1d8 --- /dev/null +++ b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix @@ -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 ]; + }; +} |