Unverified Commit 9a01fad6 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

ketesa: 0.11.4-etke54 -> 1.1.0 (#506270)

parents 873a2c60 7ff7e9fd
Loading
Loading
Loading
Loading
+14 −12
Original line number Diff line number Diff line
@@ -16,19 +16,19 @@ assert lib.asserts.assertMsg (
) "The baseUrl parameter is deprecated, please use .withConfig instead";

stdenv.mkDerivation (finalAttrs: {
  pname = "synapse-admin-etkecc";
  version = "0.11.4-etke54";
  pname = "ketesa";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "etkecc";
    repo = "synapse-admin";
    repo = "ketesa";
    tag = "v${finalAttrs.version}";
    hash = "sha256-/BH77wv9wWUIMcrDW5l8e+nQMHuJRtdKGqVfYl5XQzc=";
    hash = "sha256-+MzoYREPLKEHT5fXAddYBVELDmmP7+aXQlm4s04kWy0=";
  };

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = finalAttrs.src + "/yarn.lock";
    hash = "sha256-neKBMw0iDYLQG4GeoXlnU1SVwKADw0ATAHG1s1inH3U=";
    hash = "sha256-+q4Y0BNK1BggNyRw2gJ3swAe+ZK6A3N+oceBrx0a2uE=";
  };

  nativeBuildInputs = [
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {

  env = {
    NODE_ENV = "production";
    SYNAPSE_ADMIN_VERSION = finalAttrs.version;
    KETESA_VERSION = finalAttrs.version;
  };

  installPhase = ''
@@ -48,15 +48,17 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  __darwinAllowLocalNetworking = true;

  passthru = {
    # https://github.com/etkecc/synapse-admin/blob/main/docs/config.md
    # https://github.com/etkecc/ketesa/blob/main/docs/config.md
    withConfig =
      config:
      stdenv.mkDerivation {
        inherit (finalAttrs) version meta;
        pname = "synapse-admin-etkecc-with-config";
        pname = "ketesa-with-config";
        dontUnpack = true;
        configFile = writers.writeJSON "synapse-admin-config" config;
        configFile = writers.writeJSON "ketesa-config" config;
        installPhase = ''
          runHook preInstall
          cp -r ${finalAttrs.finalPackage} $out
@@ -70,9 +72,9 @@ stdenv.mkDerivation (finalAttrs: {
  };

  meta = {
    description = "Maintained fork of the admin console for (Matrix) Synapse homeservers, including additional features";
    homepage = "https://github.com/etkecc/synapse-admin";
    changelog = "https://github.com/etkecc/synapse-admin/releases/tag/v${finalAttrs.version}";
    description = "Admin UI for Matrix servers, formerly Synapse Admin. Drop-in replacement with extended features, multi-backend support, and visual customization";
    homepage = "https://github.com/etkecc/ketesa";
    changelog = "https://github.com/etkecc/ketesa/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ defelo ];
  };
+1 −0
Original line number Diff line number Diff line
@@ -1919,6 +1919,7 @@ mapAliases {
  Sylk = throw "'Sylk' has been renamed to/replaced by 'sylk'"; # Converted to throw 2025-10-27
  symbiyosys = throw "'symbiyosys' has been renamed to/replaced by 'sby'"; # Converted to throw 2025-10-27
  syn2mas = throw "'syn2mas' has been removed. It has been integrated into the main matrix-authentication-service CLI as a subcommand: 'mas-cli syn2mas'."; # Added 2025-07-07
  synapse-admin-etkecc = warnAlias "'synapse-admin-etkecc' has been renamed to 'ketesa'" ketesa; # Added 2026-04-03
  sync = throw "'sync' has been renamed to/replaced by 'taler-sync'"; # Converted to throw 2025-10-27
  syncall = throw "'syncall' has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-01
  syncthing-tray = throw "syncthing-tray has been removed because it is broken and unmaintained"; # Added 2025-05-18