aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/djangorestframework-simplejwt
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/djangorestframework-simplejwt')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
new file mode 100644
index 000000000000..f4c50a711494
--- /dev/null
+++ b/infra/libkookie/nixpkgs/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 ];
+ };
+}