blob: 8212d097aa80623c7207555fac9e8963f69fe911 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, ecdsa
, pytest-cov
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyjwt";
version = "2.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "PyJWT";
inherit version;
sha256 = "sha256-uIi01W8G9tzXdyEMM05pxze+dHVdPl6e4/5n3Big7kE=";
};
propagatedBuildInputs = [
cryptography
ecdsa
];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "jwt" ];
meta = with lib; {
description = "JSON Web Token implementation in Python";
homepage = "https://github.com/jpadilla/pyjwt";
license = licenses.mit;
maintainers = with maintainers; [ prikhi ];
};
}
|