Unverified Commit b9073bef authored by Lin Jian's avatar Lin Jian
Browse files

emacs.pkgs.matrix-client: delete

It is deprecated in favor of emacsPackages.ement and there is error in
its native compilation.
parent 43303ab4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -19,10 +19,6 @@ lib.packagesFromDirectoryRecursive {
    inherit (pkgs) basedpyright git go gopls python3;
  };

  matrix-client = callPackage ./manual-packages/matrix-client {
    _map = self.map;
  };

  structured-haskell-mode = self.shm;

  texpresso = callPackage ./manual-packages/texpresso { inherit (pkgs) texpresso; };
@@ -44,5 +40,6 @@ lib.packagesFromDirectoryRecursive {
  ess-R-object-popup = throw "emacsPackages.ess-R-object-popup was deleted, since the upstream repo looks abandoned."; # Added 2024-07-15
  ghc-mod = throw "emacsPackages.ghc-mod was deleted because it is deprecated, use haskell-language-server instead."; # Added 2024-07-17
  haskell-unicode-input-method = throw "emacsPackages.haskell-unicode-input-method is contained in emacsPackages.haskell-mode, please use that instead."; # Added 2024-07-17
  matrix-client = throw "emacsPackages.matrix-client is deprecated in favor of emacsPackages.ement."; # Added 2024-08-17
  perl-completion = throw "emacsPackages.perl-completion was removed, since it is broken."; # Added 2024-07-19
}
+0 −65
Original line number Diff line number Diff line
{
  lib,
  melpaBuild,
  fetchFromGitHub,
  fetchpatch,
  # Emacs packages
  _map,
  a,
  anaphora,
  cl-lib,
  dash,
  dash-functional,
  esxml,
  f,
  frame-purpose,
  ht,
  ov,
  rainbow-identifiers,
  request,
  s,
  tracking,
}:

melpaBuild {
  pname = "matrix-client";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "alphapapa";
    repo = "matrix-client.el";
    rev = "d2ac55293c96d4c95971ed8e2a3f6f354565c5ed";
    hash = "sha256-GLM8oCbm6PdEZPsM0ogMtNJr8mWjCKoX6ed5AUrYjuk=";
  };

  patches = [
    # Fix: avatar loading when imagemagick support is not available
    (fetchpatch {
      url = "https://github.com/alphapapa/matrix-client.el/commit/5f49e615c7cf2872f48882d3ee5c4a2bff117d07.patch";
      hash = "sha256-dXUa/HKDe+UjaXYTvgwPdXDuDcHB2HLPGWHboE+Lex0=";
    })
  ];

  packageRequires = [
    _map
    a
    anaphora
    cl-lib
    dash
    dash-functional
    esxml
    f
    frame-purpose
    ht
    ov
    rainbow-identifiers
    request
    s
    tracking
  ];

  meta = {
    description = "Chat client and API wrapper for Matrix.org";
    license = lib.licenses.gpl3Plus;
  };
}