1{ lib, buildPythonPackage, fetchPypi
2, cryptography, ecdsa
3, pytestrunner, pytestcov, pytest }:
4
5buildPythonPackage rec {
6 pname = "PyJWT";
7 version = "1.6.4";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176";
12 };
13
14 propagatedBuildInputs = [ cryptography ecdsa ];
15
16 checkInputs = [ pytestrunner pytestcov pytest ];
17
18 meta = with lib; {
19 description = "JSON Web Token implementation in Python";
20 homepage = https://github.com/jpadilla/pyjwt;
21 license = licenses.mit;
22 maintainers = with maintainers; [ prikhi ];
23 };
24}