Files
nixpkgs/pkgs/development/python-modules/joserfc/default.nix
T
Martin Weinelt 691c63ba40 python3Packages.joserfc: 1.2.2 -> 1.6.1
https://github.com/authlib/joserfc/blob/1.6.1/docs/changelog.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:22 +01:00

49 lines
956 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
cryptography,
pycryptodome,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "joserfc";
version = "1.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "authlib";
repo = "joserfc";
tag = version;
hash = "sha256-druh7ybcQBjTxUFMVLUwknw/aa/fyrUdS4ftS/ftYeA=";
};
build-system = [ setuptools ];
dependencies = [ cryptography ];
optional-dependencies = {
drafts = [ pycryptodome ];
};
nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies;
pythonImportsCheck = [ "joserfc" ];
meta = {
changelog = "https://github.com/authlib/joserfc/blob/${src.tag}/docs/changelog.rst";
description = "Implementations of JOSE RFCs in Python";
homepage = "https://github.com/authlib/joserfc";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}