14 buildPythonPackage rec {
19 src = fetchFromGitHub {
23 hash = "sha256-BPVythRLpglYtpLEoaC7+Q4l9izYXH2M9JEbxdyQZqU=";
31 build-system = [ setuptools ];
39 optional-dependencies.crypto = [ cryptography ];
41 nativeCheckInputs = [ pytestCheckHook ] ++ (lib.flatten (lib.attrValues optional-dependencies));
44 # requires internet connection
45 "test_get_jwt_set_sslcontext_default"
48 pythonImportsCheck = [ "jwt" ];
55 changelog = "https://github.com/jpadilla/pyjwt/blob/${version}/CHANGELOG.rst";
56 description = "JSON Web Token implementation in Python";
57 homepage = "https://github.com/jpadilla/pyjwt";
58 license = licenses.mit;
59 maintainers = with maintainers; [ prikhi ];