{ stdenv, fetchFromGitHub }: let version = "25.0.1.1718907377"; jarVersion = "25.0.0"; in stdenv.mkDerivation { inherit version; pname = "keycloak-p2-admin-ui"; src = fetchFromGitHub { owner = "p2-inc"; repo = "phasetwo-containers"; rev = "v${version}"; hash = "sha256-Xk/4Nq2u5reZeMoNHWGS8sZXiGtd/BFRB6dA9AW0fKw="; # hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; }; doBuild = false; doCheck = false; installPhase = '' install -D libs/ext/phasetwo-admin-ui-${jarVersion}.jar $out/phasetwo-admin-ui-${jarVersion}.jar ''; }