mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:24:10 +01:00
https://github.com/marcospereirampj/python-keycloak/blob/v7.0.2/CHANGELOG.md This commit was automatically generated using update-python-libraries.
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
buildPythonPackage,
|
|
deprecation,
|
|
fetchFromGitHub,
|
|
httpx,
|
|
jwcrypto,
|
|
poetry-core,
|
|
requests,
|
|
requests-toolbelt,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-keycloak";
|
|
version = "7.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marcospereirampj";
|
|
repo = "python-keycloak";
|
|
tag = "v${version}";
|
|
hash = "sha256-3JHmVfGd5X5aEZt8O7Aj/UfYpLtDsI6MPwWxLo7SGBs=";
|
|
};
|
|
|
|
postPatch = ''
|
|
# Upstream doesn't set version
|
|
substituteInPlace pyproject.toml \
|
|
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
|
|
'';
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
deprecation
|
|
httpx
|
|
jwcrypto
|
|
requests
|
|
requests-toolbelt
|
|
];
|
|
|
|
# Test fixtures require a running keycloak instance
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "keycloak" ];
|
|
|
|
meta = {
|
|
description = "Provides access to the Keycloak API";
|
|
homepage = "https://github.com/marcospereirampj/python-keycloak";
|
|
changelog = "https://github.com/marcospereirampj/python-keycloak/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|