mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
python312Packages.oic: init at 1.7.0
This commit is contained in:
parent
b2a979a4b4
commit
edf5976377
2 changed files with 70 additions and 0 deletions
68
pkgs/development/python-modules/oic/default.nix
Normal file
68
pkgs/development/python-modules/oic/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10278,6 +10278,8 @@ self: super: with self; {
|
||||||
|
|
||||||
ohme = callPackage ../development/python-modules/ohme { };
|
ohme = callPackage ../development/python-modules/ohme { };
|
||||||
|
|
||||||
|
oic = callPackage ../development/python-modules/oic { };
|
||||||
|
|
||||||
okonomiyaki = callPackage ../development/python-modules/okonomiyaki { };
|
okonomiyaki = callPackage ../development/python-modules/okonomiyaki { };
|
||||||
|
|
||||||
okta = callPackage ../development/python-modules/okta { };
|
okta = callPackage ../development/python-modules/okta { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue