Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1943,6 +1943,11 @@
email = "[email protected]";
name = "Ivan Tkatchev";
};
ivegotasthma = {
email = "[email protected]";
github = "ivegotasthma";
name = "Hristo Mihaylov";
};
ixmatus = {
email = "[email protected]";
github = "ixmatus";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ lib
, fetchPypi
, django
, pyjwt
, djangorestframework
, buildPythonPackage
}:

buildPythonPackage rec {
pname = "djangorestframework-jwt";
version = "1.11.0";

src = fetchPypi {
inherit pname version;
sha256 = "19rng6v1sw14mbjp5cplnrgxjnhlj8faalfw02iihi9s5w1k7zjy";
};

propagatedBuildInputs = [ pyjwt django djangorestframework ];

# ./runtests.py fails because the project must be tested against a django
# installation, there are missing database tables for User, that don't exist.
doCheck = false;

meta = with lib; {
description = "JSON Web Token Authentication support for Django REST Framework";
homepage = https://github.com/GetBlimp/django-rest-framework-jwt;
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,8 @@ in {

djangorestframework = callPackage ../development/python-modules/djangorestframework { };

djangorestframework-jwt = callPackage ../development/python-modules/djangorestframework-jwt { };

django-raster = callPackage ../development/python-modules/django-raster { };

django_redis = callPackage ../development/python-modules/django_redis { };
Expand Down