spectral: drop it in favour of neochat

This commit is contained in:
Peter Hoeg 2020-12-27 17:47:39 +08:00
parent a1e8f892a6
commit df6ecfc46e
3 changed files with 1 additions and 42 deletions

View file

@ -1,40 +0,0 @@
{ stdenv, fetchgit
, pkgconfig, wrapQtAppsHook
, cmake
, qtbase, qttools, qtquickcontrols2, qtmultimedia, qtkeychain
, libpulseaudio
# Not mentioned but seems needed
, qtgraphicaleffects
, qtdeclarative
, qtmacextras
, olm, libsecret, cmark
}:
let qtkeychain-qt5 = qtkeychain.override {
inherit qtbase qttools;
withQt5 = true;
};
in stdenv.mkDerivation rec {
pname = "spectral";
version = "817";
src = fetchgit {
url = "https://gitlab.com/spectral-im/spectral.git";
rev = version;
sha256 = "0lg0bkz621cmqb67kz1zmn4xwbspcqalz68byll5iszqz9y4gnp1";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig cmake wrapQtAppsHook ];
buildInputs = [ qtbase qtkeychain-qt5 qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative olm libsecret cmark ]
++ stdenv.lib.optional stdenv.hostPlatform.isLinux libpulseaudio
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin qtmacextras;
meta = with stdenv.lib; {
description = "A glossy cross-platform Matrix client";
homepage = "https://spectral.im";
license = licenses.gpl3;
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ dtzWill ];
};
}

View file

@ -572,6 +572,7 @@ mapAliases ({
smugline = throw "smugline has been removed from nixpkgs, as it's unmaintained and depends on deprecated libraries."; # added 2020-11-04
slim = throw "slim has been removed. Please use a different display-manager"; # added 2019-11-11
slimThemes = throw "slimThemes has been removed because slim has been also"; # added 2019-11-11
spectral = neochat; # added 2020-12-27
sundials_3 = throw "sundials_3 was removed in 2020-02. outdated and no longer needed";
# added 2020-02-10

View file

@ -22024,8 +22024,6 @@ in
spectrwm = callPackage ../applications/window-managers/spectrwm { };
spectral = qt5.callPackage ../applications/networking/instant-messengers/spectral { };
spotify-cli-linux = callPackage ../applications/audio/spotify-cli-linux { };
spotifyd = callPackage ../applications/audio/spotifyd {