Merge pull request #311187 from leona-ya/keycloak-metrics-spi-aarch64

authored by Franz Pletz and committed by GitHub 9bd52d8f 2f935060

+7 -2
+7 -2
pkgs/servers/keycloak/keycloak-metrics-spi/default.nix
··· 1 - { maven, lib, fetchFromGitHub }: 1 + { maven, stdenv, lib, fetchFromGitHub }: 2 2 3 3 maven.buildMavenPackage rec { 4 4 pname = "keycloak-metrics-spi"; ··· 11 11 hash = "sha256-iagXbsKsU4vNP9eg05bwXEo67iij3N2FF0BW50MjRGE="; 12 12 }; 13 13 14 - mvnHash = "sha256-+ySBrQ9yQ5ZxuVUh/mnHNEmugru3n8x5VR/RYEDCLAo="; 14 + mvnHash = { 15 + aarch64-linux = "sha256-zO79pRrY8TqrSK4bB8l4pl6834aFX2pidyk1j9Itz1E=`"; 16 + x86_64-linux = "sha256-+ySBrQ9yQ5ZxuVUh/mnHNEmugru3n8x5VR/RYEDCLAo="; 17 + }.${stdenv.hostPlatform.system} or (throw "Unsupported system ${stdenv.hostPlatform.system} for ${pname}"); 18 + 15 19 16 20 installPhase = '' 17 21 runHook preInstall ··· 24 28 description = "Keycloak Service Provider that adds a metrics endpoint"; 25 29 license = licenses.asl20; 26 30 maintainers = with maintainers; [ benley ]; 31 + platforms = [ "aarch64-linux" "x86_64-linux" ]; 27 32 }; 28 33 }