1{ lib 2, buildPythonPackage 3, fetchPypi 4, cryptography 5, deprecated 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "jwcrypto"; 11 version = "1.4.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-gKNentGzssQ84D2SxdSObQtmR+KqJhjkljRIkj14o3s="; 19 }; 20 21 propagatedBuildInputs = [ 22 cryptography 23 deprecated 24 ]; 25 26 pythonImportsCheck = [ 27 "jwcrypto" 28 ]; 29 30 meta = with lib; { 31 description = "Implementation of JOSE Web standards"; 32 homepage = "https://github.com/latchset/jwcrypto"; 33 license = licenses.lgpl3Plus; 34 maintainers = with maintainers; [ costrouc ]; 35 }; 36}