2022-03-30 09:31:56 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, maven
|
|
|
|
}:
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
maven.buildMavenPackage rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "scim-for-keycloak";
|
|
|
|
version = "kc-15-b2"; # When updating also update mvnHash
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Captain-P-Goldfish";
|
|
|
|
repo = "scim-for-keycloak";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "K34c7xISjEETI3jFkRLdZ0C8pZHTWtPtrrIzwC76Tv0=";
|
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
mvnHash = "sha256-MWxm2q6tx8YcdEsleC2h+s+lp9whi11VQ1yFr8AZUyQ=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
maven
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
EAR=$(find -iname "*.ear")
|
|
|
|
install -D "$EAR" "$out/$(basename $EAR)"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Captain-P-Goldfish/scim-for-keycloak";
|
|
|
|
description = "A third party module that extends Keycloak with SCIM functionality";
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [
|
|
|
|
fromSource
|
|
|
|
binaryBytecode # dependencies
|
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
};
|
|
|
|
}
|