fancontrol-gui: drop
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
{
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
fancontrol-gui,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
libgcc,
|
||||
libsForQt5,
|
||||
nix-update-script,
|
||||
stdenv,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fancontrol-gui";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Maldela";
|
||||
repo = "fancontrol-gui";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hJaU8SL0b6GmTONGSIzUzzbex6KxHf2Np0bCX8YSSVM=";
|
||||
};
|
||||
|
||||
buildInputs = with libsForQt5; [
|
||||
libgcc
|
||||
kcmutils
|
||||
kdeclarative
|
||||
kio
|
||||
plasma-framework
|
||||
qt5.qtdeclarative
|
||||
qt5.qtquickcontrols
|
||||
qt5.qtquickcontrols2
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
./version.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.0.2)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = fancontrol-gui;
|
||||
command = "env QT_QPA_PLATFORM=minimal ${lib.getExe fancontrol-gui} --version";
|
||||
};
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "GUI for fancontrol with QT and KDE framework 5";
|
||||
homepage = "https://github.com/Maldela/fancontrol-gui";
|
||||
changelog = "https://github.com/Maldela/fancontrol-gui/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "fancontrol_gui";
|
||||
maintainers = with lib.maintainers; [ dashietm ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/fancontrol-gui/src/main.cpp b/fancontrol-gui/src/main.cpp
|
||||
index 9f33fa0..ae0deb6 100644
|
||||
--- a/fancontrol-gui/src/main.cpp
|
||||
+++ b/fancontrol-gui/src/main.cpp
|
||||
@@ -81,7 +81,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
auto about = KAboutData(QStringLiteral("org.kde.fancontrol.gui"),
|
||||
i18n("Fancontrol-GUI"),
|
||||
- QStringLiteral("0.7"),
|
||||
+ QStringLiteral("0.8"),
|
||||
i18n("Graphical user interface for fancontrol"),
|
||||
KAboutLicense::KAboutLicense::GPL_V2,
|
||||
QStringLiteral("Copyright (C) 2015 Malte Veerman"),
|
||||
@@ -690,6 +690,7 @@ mapAliases {
|
||||
eww-wayland = throw "'eww-wayland' has been renamed to/replaced by 'eww'"; # Converted to throw 2025-10-27
|
||||
f3d_egl = warnAlias "'f3d' now build with egl support by default, so `f3d_egl` is deprecated, consider using 'f3d' instead." f3d; # Added 2025-07-18
|
||||
fabs = throw "'fabs' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
|
||||
fancontrol-gui = throw "'fancontrol-gui' has been removed due to outdated KF5 dependencies"; # Added 2026-05-01
|
||||
fast-cli = throw "'fast-cli' has been removed because it was unmaintainable in nixpkgs"; # Added 2025-11-17
|
||||
fastJson = warnAlias "'fastJson' has been renamed to 'libfastjson'" libfastjson; # Added 2026-02-08
|
||||
fastnlo_toolkit = throw "'fastnlo_toolkit' has been renamed to/replaced by 'fastnlo-toolkit'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user