emacsPackages.matrix-client: clean

This commit is contained in:
Lin Jian 2024-07-17 21:38:32 +08:00
parent 849ee9286c
commit 5727c78caa
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -2,7 +2,6 @@
, melpaBuild
, fetchFromGitHub
, fetchpatch
, writeText
# Emacs packages
, _map
, a
@ -21,26 +20,22 @@
, tracking
}:
let
rev = "d2ac55293c96d4c95971ed8e2a3f6f354565c5ed";
in melpaBuild {
melpaBuild {
pname = "matrix-client";
version = "0.3.0";
commit = rev;
src = fetchFromGitHub {
owner = "alphapapa";
repo = "matrix-client.el";
inherit rev;
sha256 = "1scfv1502yg7x4bsl253cpr6plml1j4d437vci2ggs764sh3rcqq";
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";
sha256 = "07bvid7s1nv1377p5n61q46yww3m1w6bw4vnd4iyayw3fby1lxbm";
hash = "sha256-dXUa/HKDe+UjaXYTvgwPdXDuDcHB2HLPGWHboE+Lex0=";
})
];
@ -62,10 +57,6 @@ in melpaBuild {
tracking
];
recipe = writeText "recipe" ''
(matrix-client :repo "alphapapa/matrix-client.el" :fetcher github)
'';
meta = {
description = "Chat client and API wrapper for Matrix.org";
license = lib.licenses.gpl3Plus;