Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, django 4, pyjwt 5, djangorestframework 6, buildPythonPackage 7}: 8 9buildPythonPackage rec { 10 pname = "djangorestframework-jwt"; 11 version = "1.11.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "19rng6v1sw14mbjp5cplnrgxjnhlj8faalfw02iihi9s5w1k7zjy"; 16 }; 17 18 propagatedBuildInputs = [ pyjwt django djangorestframework ]; 19 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; 23 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 }; 30}