depot/third_party/nixpkgs/pkgs/development/python-modules/python-keycloak/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

39 lines
756 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, python-jose
, httmock
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "python-keycloak";
version = "0.27.0";
src = fetchFromGitHub {
owner = "marcospereirampj";
repo = "python-keycloak";
rev = version;
sha256 = "sha256-XCOfzzUs0K5/peprgpEXY2pX6wYOF7hg9ec1XPEYHCI=";
};
propagatedBuildInputs = [
requests
python-jose
];
checkInputs = [
unittestCheckHook
httmock
];
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 ];
};
}