conduwuit: drop (#432100)
This commit is contained in:
commit
b298ff0033
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
- `mx-puppet-discord` was removed from nixpkgs along with its NixOS module as it was unmaintained and was the only user of sha1 hashes in tree.
|
- `mx-puppet-discord` was removed from nixpkgs along with its NixOS module as it was unmaintained and was the only user of sha1 hashes in tree.
|
||||||
|
|
||||||
|
- `conduwuit` was removed due to upstream ceasing development and deleting their repository. For existing data, a migration to `matrix-conduit`, `matrix-continuwuity` or `matrix-tuwunel` may be possible.
|
||||||
|
|
||||||
- `gnome-keyring` no longer ships with an SSH agent anymore because it has been deprecated upstream. You should use `gcr_4` instead, which provides the same features. More information on why this was done can be found on [the relevant GCR upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67).
|
- `gnome-keyring` no longer ships with an SSH agent anymore because it has been deprecated upstream. You should use `gcr_4` instead, which provides the same features. More information on why this was done can be found on [the relevant GCR upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67).
|
||||||
|
|
||||||
- `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".
|
||||||
|
|||||||
@ -1,100 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
rustPlatform,
|
|
||||||
fetchFromGitHub,
|
|
||||||
pkg-config,
|
|
||||||
bzip2,
|
|
||||||
zstd,
|
|
||||||
stdenv,
|
|
||||||
rocksdb,
|
|
||||||
nix-update-script,
|
|
||||||
testers,
|
|
||||||
conduwuit,
|
|
||||||
# upstream conduwuit enables jemalloc by default, so we follow suit
|
|
||||||
enableJemalloc ? true,
|
|
||||||
rust-jemalloc-sys,
|
|
||||||
enableLiburing ? stdenv.hostPlatform.isLinux,
|
|
||||||
liburing,
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
rust-jemalloc-sys' = rust-jemalloc-sys.override {
|
|
||||||
unprefixed = !stdenv.hostPlatform.isDarwin;
|
|
||||||
};
|
|
||||||
rocksdb' = rocksdb.override {
|
|
||||||
inherit enableLiburing;
|
|
||||||
# rocksdb does not support prefixed jemalloc, which is required on darwin
|
|
||||||
enableJemalloc = enableJemalloc && !stdenv.hostPlatform.isDarwin;
|
|
||||||
jemalloc = rust-jemalloc-sys';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "conduwuit";
|
|
||||||
version = "0.4.6";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "girlbossceo";
|
|
||||||
repo = "conduwuit";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-ut3IWEueNR/hT7NyGfuK5IYtppC6ArSoJdEfFuD/0vE=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoHash = "sha256-L0UvJ5ZyEk/hZobkB21u6cfPCeRwhDl+07aWcQEOgYw=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config
|
|
||||||
rustPlatform.bindgenHook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
bzip2
|
|
||||||
zstd
|
|
||||||
]
|
|
||||||
++ lib.optional enableJemalloc rust-jemalloc-sys'
|
|
||||||
++ lib.optional enableLiburing liburing;
|
|
||||||
|
|
||||||
env = {
|
|
||||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
|
||||||
ROCKSDB_INCLUDE_DIR = "${rocksdb'}/include";
|
|
||||||
ROCKSDB_LIB_DIR = "${rocksdb'}/lib";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildNoDefaultFeatures = true;
|
|
||||||
# See https://github.com/girlbossceo/conduwuit/blob/main/src/main/Cargo.toml
|
|
||||||
# for available features.
|
|
||||||
# We enable all default features except jemalloc and io_uring, which
|
|
||||||
# we guard behind our own (default-enabled) flags.
|
|
||||||
buildFeatures = [
|
|
||||||
"brotli_compression"
|
|
||||||
"element_hacks"
|
|
||||||
"gzip_compression"
|
|
||||||
"release_max_log_level"
|
|
||||||
"sentry_telemetry"
|
|
||||||
"systemd"
|
|
||||||
"zstd_compression"
|
|
||||||
]
|
|
||||||
++ lib.optional enableJemalloc "jemalloc"
|
|
||||||
++ lib.optional enableLiburing "io_uring";
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script { };
|
|
||||||
tests = {
|
|
||||||
version = testers.testVersion {
|
|
||||||
inherit version;
|
|
||||||
package = conduwuit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Matrix homeserver written in Rust, forked from conduit";
|
|
||||||
homepage = "https://conduwuit.puppyirl.gay/";
|
|
||||||
changelog = "https://github.com/girlbossceo/conduwuit/releases/tag/v${version}";
|
|
||||||
license = lib.licenses.asl20;
|
|
||||||
knownVulnerabilities = [
|
|
||||||
"On April 11, 2025, the conduwuit project officially ceased development"
|
|
||||||
];
|
|
||||||
maintainers = with lib.maintainers; [ niklaskorz ];
|
|
||||||
# Not a typo, conduwuit is a drop-in replacement for conduit.
|
|
||||||
mainProgram = "conduit";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@ -487,6 +487,7 @@ mapAliases {
|
|||||||
codimd = throw "'codimd' has been renamed to/replaced by 'hedgedoc'"; # Converted to throw 2024-10-17
|
codimd = throw "'codimd' has been renamed to/replaced by 'hedgedoc'"; # Converted to throw 2024-10-17
|
||||||
inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
|
inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
|
||||||
concurrencykit = throw "'concurrencykit' has been renamed to/replaced by 'libck'"; # Converted to throw 2024-10-17
|
concurrencykit = throw "'concurrencykit' has been renamed to/replaced by 'libck'"; # Converted to throw 2024-10-17
|
||||||
|
conduwuit = throw "'conduwuit' has been removed as the upstream repository has been deleted. Consider migrating to 'matrix-conduit', 'matrix-continuwuity' or 'matrix-tuwunel' instead."; # Added 2025-08-08
|
||||||
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
|
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
|
||||||
crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
|
crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
|
||||||
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
|
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user