nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 824 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cryptography, 6 deprecated, 7 pytestCheckHook, 8 setuptools, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "jwcrypto"; 14 version = "1.5.6"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-dxqHdioMCBrmFmlYqVT4CEiCCyqwZpN9yLg3nWWxsDk="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 propagatedBuildInputs = [ 25 cryptography 26 deprecated 27 typing-extensions 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "jwcrypto" ]; 33 34 meta = { 35 description = "Implementation of JOSE Web standards"; 36 homepage = "https://github.com/latchset/jwcrypto"; 37 changelog = "https://github.com/latchset/jwcrypto/releases/tag/v${version}"; 38 license = lib.licenses.lgpl3Plus; 39 maintainers = [ ]; 40 }; 41}