mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #327921 from linj-fork/pr/clean-matrix-client
emacsPackages.matrix-client: clean
This commit is contained in:
commit
c110ea8d66
@ -1,46 +1,42 @@
|
|||||||
{ lib
|
{
|
||||||
, melpaBuild
|
lib,
|
||||||
, fetchFromGitHub
|
melpaBuild,
|
||||||
, fetchpatch
|
fetchFromGitHub,
|
||||||
, writeText
|
fetchpatch,
|
||||||
# Emacs packages
|
# Emacs packages
|
||||||
, _map
|
_map,
|
||||||
, a
|
a,
|
||||||
, anaphora
|
anaphora,
|
||||||
, cl-lib
|
cl-lib,
|
||||||
, dash
|
dash,
|
||||||
, dash-functional
|
dash-functional,
|
||||||
, esxml
|
esxml,
|
||||||
, f
|
f,
|
||||||
, frame-purpose
|
frame-purpose,
|
||||||
, ht
|
ht,
|
||||||
, ov
|
ov,
|
||||||
, rainbow-identifiers
|
rainbow-identifiers,
|
||||||
, request
|
request,
|
||||||
, s
|
s,
|
||||||
, tracking
|
tracking,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
melpaBuild {
|
||||||
rev = "d2ac55293c96d4c95971ed8e2a3f6f354565c5ed";
|
|
||||||
in melpaBuild {
|
|
||||||
pname = "matrix-client";
|
pname = "matrix-client";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
commit = rev;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alphapapa";
|
owner = "alphapapa";
|
||||||
repo = "matrix-client.el";
|
repo = "matrix-client.el";
|
||||||
inherit rev;
|
rev = "d2ac55293c96d4c95971ed8e2a3f6f354565c5ed";
|
||||||
sha256 = "1scfv1502yg7x4bsl253cpr6plml1j4d437vci2ggs764sh3rcqq";
|
hash = "sha256-GLM8oCbm6PdEZPsM0ogMtNJr8mWjCKoX6ed5AUrYjuk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Fix: avatar loading when imagemagick support is not available
|
# Fix: avatar loading when imagemagick support is not available
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/alphapapa/matrix-client.el/commit/5f49e615c7cf2872f48882d3ee5c4a2bff117d07.patch";
|
url = "https://github.com/alphapapa/matrix-client.el/commit/5f49e615c7cf2872f48882d3ee5c4a2bff117d07.patch";
|
||||||
sha256 = "07bvid7s1nv1377p5n61q46yww3m1w6bw4vnd4iyayw3fby1lxbm";
|
hash = "sha256-dXUa/HKDe+UjaXYTvgwPdXDuDcHB2HLPGWHboE+Lex0=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -62,10 +58,6 @@ in melpaBuild {
|
|||||||
tracking
|
tracking
|
||||||
];
|
];
|
||||||
|
|
||||||
recipe = writeText "recipe" ''
|
|
||||||
(matrix-client :repo "alphapapa/matrix-client.el" :fetcher github)
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Chat client and API wrapper for Matrix.org";
|
description = "Chat client and API wrapper for Matrix.org";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
|
Loading…
Reference in New Issue
Block a user