Skip to content

Commit 0f2dffb

Browse files
committed
ejabberd: 26.03 → 26.04
as the patches are merged, the patch juggling can be removed
1 parent 8429c36 commit 0f2dffb

2 files changed

Lines changed: 9 additions & 29 deletions

File tree

pkgs/by-name/ej/ejabberd/package.nix

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
gd,
1818
autoreconfHook,
1919
gawk,
20-
applyPatches,
2120
fetchFromGitHub,
2221
fetchgit,
2322
fetchNpmDeps,
24-
fetchpatch2,
2523
beamPackages,
2624
nixosTests,
2725
withMysql ? false,
@@ -146,7 +144,7 @@ let
146144
in
147145
stdenv.mkDerivation (finalAttrs: {
148146
pname = "ejabberd";
149-
version = "26.03";
147+
version = "26.04";
150148

151149
nativeBuildInputs = [
152150
makeWrapper
@@ -178,35 +176,17 @@ stdenv.mkDerivation (finalAttrs: {
178176

179177
npmDeps = lib.optionalDrvAttr npmToolingUsed (fetchNpmDeps {
180178
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
181-
src =
182-
if builtins.isNull finalAttrs.patches || builtins.length finalAttrs.patches <= 0 then
183-
finalAttrs.src
184-
else
185-
# A bit of a hack, but if the package*.json files are patched,
186-
# fetchNpmDeps will be out of sync
187-
applyPatches {
188-
inherit (finalAttrs) src patches;
189-
name = "${finalAttrs.pname}-${finalAttrs.version}-patched";
190-
};
179+
src = finalAttrs.src;
191180
hash = "sha256-MTyoc8ozrCi3W0CXmxyLpyU8v+vlUjcbLnv/1ev/Qqo=";
192181
});
193182

194183
src = fetchFromGitHub {
195184
owner = "processone";
196185
repo = "ejabberd";
197186
tag = finalAttrs.version;
198-
hash = "sha256-M38niXEW++SPAvqQ2cqEd23+w7lBDO5EPgu/QRdYbXo=";
187+
hash = "sha256-PF65TgHvKeSEudEqqJVEotu2zgiWgGtRuNvbiyE0nwc=";
199188
};
200189

201-
patches = [
202-
(fetchpatch2 {
203-
# Makes Bootstrap optional, drops jQuery
204-
# https://github.com/processone/ejabberd/pull/4558
205-
url = "https://patch-diff.githubusercontent.com/raw/processone/ejabberd/pull/4558.patch";
206-
hash = "sha256-ETl2Zf7O6roxtf7DthJqL+tj4RvEfW94735sGM8x/GM=";
207-
})
208-
];
209-
210190
passthru.tests = {
211191
inherit (nixosTests) ejabberd;
212192
};

pkgs/by-name/ej/ejabberd/rebar-deps.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ let
2424
};
2525
xmpp = builder {
2626
name = "xmpp";
27-
version = "1.13.1";
27+
version = "1.13.3";
2828
src = fetchHex {
2929
pkg = "xmpp";
30-
version = "1.13.1";
31-
sha256 = "sha256-oCTu98y094uftS431jhaV73RUL515Q1Ru8uvOamriD0=";
30+
version = "1.13.3";
31+
sha256 = "sha256-BWSKpNvM/uYqqnlLKSowWEY50DyR9cCGa+jDQ0tqb0g=";
3232
};
3333
beamDeps = [
3434
ezlib
@@ -188,11 +188,11 @@ let
188188
};
189189
fast_xml = builder {
190190
name = "fast_xml";
191-
version = "1.1.58";
191+
version = "1.1.60";
192192
src = fetchHex {
193193
pkg = "fast_xml";
194-
version = "1.1.58";
195-
sha256 = "sha256-o21uA6OYxTuhiekSv0x1WaNwSsY8UFDxJtR0FAGLTKA=";
194+
version = "1.1.60";
195+
sha256 = "sha256-z54nSd1HIEcCy3oEq1BFZC+gCW/fyc/y6cptPyq9N8U=";
196196
};
197197
beamDeps = [ p1_utils ];
198198
};

0 commit comments

Comments
 (0)