Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 24 lines 615 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, cryptography, ecdsa 3, pytestrunner, pytestcov, pytest }: 4 5buildPythonPackage rec { 6 pname = "PyJWT"; 7 version = "1.7.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"; 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}