Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / djangorestframework-jwt / default.nix
blob643218242d798939cfa1d71c68258356a7ec0d3b
1 { lib
2 , fetchPypi
3 , django
4 , pyjwt
5 , djangorestframework
6 , buildPythonPackage
7 }:
9 buildPythonPackage rec {
10   pname = "djangorestframework-jwt";
11   version = "1.11.0";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "19rng6v1sw14mbjp5cplnrgxjnhlj8faalfw02iihi9s5w1k7zjy";
16   };
18   propagatedBuildInputs = [ pyjwt django djangorestframework ];
20   # ./runtests.py fails because the project must be tested against a django
21   # installation, there are missing database tables for User, that don't exist.
22   doCheck = false;
24   meta = with lib; {
25     description = "JSON Web Token Authentication support for Django REST Framework";
26     homepage = "https://github.com/GetBlimp/django-rest-framework-jwt";
27     license = licenses.mit;
28     maintainers = [ maintainers.ivegotasthma ];
29   };