purple-matrix: drop

Has been unmaintained since 2022 and uses the EOL http-parser library
that has many vulnerabilities.
This commit is contained in:
dish
2025-09-01 17:44:24 -04:00
parent 8642dd271e
commit 6ab8712005
5 changed files with 8 additions and 63 deletions

View File

@@ -80,6 +80,8 @@
- `stdenv.mkDerivation` and other derivation builders that use it no longer allow the value of `env` to be anything but an attribute set, for the purpose of setting environment variables that are available to the [builder](https://nix.dev/manual/nix/latest/store/derivation/#builder) process. An environment variable called `env` can still be provided by means of `mkDerivation { env.env = ...; }`, though we recommend to use a more specific name than "env". - `stdenv.mkDerivation` and other derivation builders that use it no longer allow the value of `env` to be anything but an attribute set, for the purpose of setting environment variables that are available to the [builder](https://nix.dev/manual/nix/latest/store/derivation/#builder) process. An environment variable called `env` can still be provided by means of `mkDerivation { env.env = ...; }`, though we recommend to use a more specific name than "env".
- `purple-matrix` has been removed, since it has been unmaintained since April 2022 and upstream does not recommend using it anymore.
- The default Android NDK version has been raised to 27, and the default SDK version to 35. - The default Android NDK version has been raised to 27, and the default SDK version to 35.
NDK 2126 have been removed, as they are endoflife. NDK 2126 have been removed, as they are endoflife.

View File

@@ -123,7 +123,7 @@ in
libpurple_plugins = lib.mkOption { libpurple_plugins = lib.mkOption {
type = lib.types.listOf lib.types.package; type = lib.types.listOf lib.types.package;
default = [ ]; default = [ ];
example = lib.literalExpression "[ pkgs.purple-matrix ]"; example = lib.literalExpression "[ pkgs.purple-discord ]";
description = '' description = ''
The list of libpurple plugins to install. The list of libpurple plugins to install.
''; '';

View File

@@ -52,8 +52,6 @@ lib.makeScope newScope (
purple-lurch = callPackage ./purple-lurch { }; purple-lurch = callPackage ./purple-lurch { };
purple-matrix = callPackage ./purple-matrix { };
purple-mm-sms = callPackage ./purple-mm-sms { }; purple-mm-sms = callPackage ./purple-mm-sms { };
purple-plugin-pack = callPackage ./purple-plugin-pack { }; purple-plugin-pack = callPackage ./purple-plugin-pack { };
@@ -69,5 +67,9 @@ lib.makeScope newScope (
pidgin-opensteamworks = callPackage ./pidgin-opensteamworks { }; pidgin-opensteamworks = callPackage ./pidgin-opensteamworks { };
purple-facebook = callPackage ./purple-facebook { }; purple-facebook = callPackage ./purple-facebook { };
}
// lib.optionalAttrs config.allowAliases {
purple-matrix = throw "'pidginPackages.purple-matrix' has been unmaintained since April 2022, so it was removed.";
} }
) )

View File

@@ -1,59 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
pidgin,
json-glib,
glib,
http-parser,
sqlite,
olm,
libgcrypt,
}:
stdenv.mkDerivation {
pname = "purple-matrix-unstable";
version = "2019-06-06";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "purple-matrix";
rev = "4494ba22b479917f0b1f96a3019792d3d75bcff1";
sha256 = "1gjm0z4wa5vi9x1xk43rany5pffrwg958n180ahdj9a7sa8a4hpm";
};
env.NIX_CFLAGS_COMPILE = builtins.toString [
# glib-2.62 deprecations
"-DGLIB_DISABLE_DEPRECATION_WARNINGS"
# override "-O0 -Werror" set by build system
"-O3"
"-Wno-error"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
pidgin
json-glib
glib
http-parser
sqlite
olm
libgcrypt
];
makeFlags = [
"PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2"
"DATA_ROOT_DIR_PURPLE=${placeholder "out"}/share"
];
buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; # fix build on darwin
meta = with lib; {
homepage = "https://github.com/matrix-org/purple-matrix";
description = "Matrix support for Pidgin / libpurple";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ symphorien ];
};
}

View File

@@ -2047,6 +2047,7 @@ mapAliases {
psstop = throw "'psstop' has been removed because the upstream repo has been archived"; # Added 2025-05-10 psstop = throw "'psstop' has been removed because the upstream repo has been archived"; # Added 2025-05-10
ptask = throw "'ptask' has been removed because its upstream is unavailable"; # Added 2025-05-10 ptask = throw "'ptask' has been removed because its upstream is unavailable"; # Added 2025-05-10
purple-signald = throw "'purple-signald' has been removed due to lack of upstream maintenance"; # Added 2025-05-17 purple-signald = throw "'purple-signald' has been removed due to lack of upstream maintenance"; # Added 2025-05-17
purple-matrix = throw "'purple-matrix' has been unmaintained since April 2022, so it was removed."; # Added 2025-09-01
pwndbg = throw "'pwndbg' has been removed due to dependency version incompatibilities that are infeasible to maintain in nixpkgs. Use the downstream flake that pwndbg provides instead: https://github.com/pwndbg/pwndbg"; # Added 2025-02-09 pwndbg = throw "'pwndbg' has been removed due to dependency version incompatibilities that are infeasible to maintain in nixpkgs. Use the downstream flake that pwndbg provides instead: https://github.com/pwndbg/pwndbg"; # Added 2025-02-09
pxlib = throw "pxlib has been removed due to failing to build and lack of upstream maintenance"; # Added 2025-04-28 pxlib = throw "pxlib has been removed due to failing to build and lack of upstream maintenance"; # Added 2025-04-28
pxview = throw "pxview has been removed due to failing to build and lack of upstream maintenance"; # Added 2025-04-28 pxview = throw "pxview has been removed due to failing to build and lack of upstream maintenance"; # Added 2025-04-28
@@ -2708,7 +2709,6 @@ mapAliases {
purple-googlechat purple-googlechat
purple-hangouts purple-hangouts
purple-lurch purple-lurch
purple-matrix
purple-mm-sms purple-mm-sms
purple-plugin-pack purple-plugin-pack
purple-slack purple-slack