diff --git a/flake.nix b/flake.nix index 3a250f5..4f83b09 100644 --- a/flake.nix +++ b/flake.nix @@ -1,44 +1,44 @@ { - description = "keycloak-event-listener"; + description = "keycloak-event-listener"; - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-parts.url = "github:hercules-ci/flake-parts"; - devshell.url = "github:numtide/devshell"; - }; + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-parts.url = "github:hercules-ci/flake-parts"; + devshell.url = "github:numtide/devshell"; + }; - outputs = inputs: - inputs.flake-parts.lib.mkFlake { inherit inputs; } { - imports = [ - inputs.devshell.flakeModule - ]; + outputs = inputs: + inputs.flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + inputs.devshell.flakeModule + ]; - systems = [ - "x86_64-linux" - ]; + systems = [ + "x86_64-linux" + ]; - perSystem = args@{ system, pkgs, lib, config, ... }: let - keycloak-event-listener = pkgs.maven.buildMavenPackage { - pname = "keycloak-event-listener"; - version = "0.0.1"; - src = ./.; - mvnHash = "sha256-tJgqe1WbVodEoRrDFPyHxsFkHIWHAPp5a2WsvWPb2l8="; + perSystem = args@{ system, pkgs, lib, config, ... }: let + keycloak-event-listener = pkgs.maven.buildMavenPackage { + pname = "keycloak-event-listener"; + version = "0.0.1"; + src = ./.; + mvnHash = "sha256-umoAXAKhYvdLbCYCb/NSWx+qqesi/KMt7BlMg5p8Gkc="; - installPhase = '' - runHook preInstall - install -Dm444 -t "$out" target/pubsolar.keycloak-event-listener.jar - runHook postInstall - ''; - }; - in { - packages.default = keycloak-event-listener; - packages.keycloak-event-listener = keycloak-event-listener; + installPhase = '' + runHook preInstall + install -Dm444 -t "$out" target/pubsolar.keycloak-event-listener.jar + runHook postInstall + ''; + }; + in { + packages.default = keycloak-event-listener; + packages.keycloak-event-listener = keycloak-event-listener; - devshells.default = { - packages = with pkgs; [ - maven - ]; - }; - }; - }; + devshells.default = { + packages = with pkgs; [ + maven + ]; + }; + }; + }; } diff --git a/pom.xml b/pom.xml index f11ddca..d61f2df 100644 --- a/pom.xml +++ b/pom.xml @@ -10,22 +10,22 @@ org.keycloak keycloak-core - 23.0.6 + 24.0.5 org.keycloak keycloak-server-spi - 23.0.6 + 24.0.5 org.keycloak keycloak-server-spi-private - 23.0.6 + 24.0.5 com.google.auto.service @@ -56,12 +56,12 @@ com.github.dasniko testcontainers-keycloak - 3.3.0 + 3.4.0 io.rest-assured rest-assured - 5.4.0 + 5.5.0 org.slf4j