Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ 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 ]; };}