Merge pull request #151498 from costrouc/python-keycloak
pythonPackages.python-keycloak: init at 0.26.1
This commit is contained in:
commit
6ae2dbc902
41
pkgs/development/python-modules/python-keycloak/default.nix
Normal file
41
pkgs/development/python-modules/python-keycloak/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, python-jose
|
||||
, httmock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-keycloak";
|
||||
version = "0.26.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marcospereirampj";
|
||||
repo = "python-keycloak";
|
||||
rev = version;
|
||||
sha256 = "sha256-YWDj/dLN72XMxDXpSPQvkxHF5xJ15xWJjw3vtfmxlwo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
python-jose
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
httmock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
python -m unittest discover
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "keycloak" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides access to the Keycloak API";
|
||||
homepage = "https://github.com/marcospereirampj/python-keycloak";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
|
@ -6118,6 +6118,8 @@ in {
|
|||
|
||||
python-kasa = callPackage ../development/python-modules/python-kasa { };
|
||||
|
||||
python-keycloak = callPackage ../development/python-modules/python-keycloak { };
|
||||
|
||||
python-keystoneclient = callPackage ../development/python-modules/python-keystoneclient { };
|
||||
|
||||
python-lsp-black = callPackage ../development/python-modules/python-lsp-black { };
|
||||
|
|
Loading…
Reference in a new issue