python312Packages.oic: init at 1.7.0

This commit is contained in:
Dmitry Kalinkin 2025-05-23 22:29:23 -04:00
parent b2a979a4b4
commit edf5976377
2 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,68 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
requests,
pycryptodomex,
pydantic-settings,
pyjwkest,
mako,
cryptography,
defusedxml,
# tests
pytestCheckHook,
freezegun,
responses,
testfixtures,
}:
buildPythonPackage rec {
pname = "oic";
version = "1.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "CZ-NIC";
repo = "pyoidc";
tag = version;
hash = "sha256-7qEK1HWLEGCKu+gDAfbyT1a+sM9fVOfjtkqZ33GWv6U=";
};
build-system = [
setuptools
];
dependencies = [
requests
pycryptodomex
pydantic-settings
pyjwkest
mako
cryptography
defusedxml
];
nativeCheckInputs = [
pytestCheckHook
freezegun
responses
testfixtures
];
pythonImportsCheck = [ "oic" ];
meta = {
description = "OpenID Connect implementation in Python";
homepage = "https://github.com/CZ-NIC/pyoidc";
changelog = "https://github.com/CZ-NIC/pyoidc/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ veprbl ];
};
}

View file

@ -10278,6 +10278,8 @@ self: super: with self; {
ohme = callPackage ../development/python-modules/ohme { };
oic = callPackage ../development/python-modules/oic { };
okonomiyaki = callPackage ../development/python-modules/okonomiyaki { };
okta = callPackage ../development/python-modules/okta { };