treewide: almost-drop KF5 (#513691)
This commit is contained in:
@@ -29,7 +29,6 @@ in
|
||||
[
|
||||
pkgs.libsForQt5.qtstyleplugin-kvantum
|
||||
pkgs.breeze-qt5
|
||||
pkgs.qtcurve
|
||||
];
|
||||
'';
|
||||
description = ''
|
||||
|
||||
@@ -191,8 +191,8 @@ in
|
||||
# Only symlink the KIO plugins, so we don't accidentally pull any services
|
||||
# like KCMs or kcookiejar
|
||||
let
|
||||
kioPluginPath = "${pkgs.plasma5Packages.qtbase.qtPluginPrefix}/kf5/kio";
|
||||
inherit (pkgs.plasma5Packages) kio;
|
||||
kioPluginPath = "${pkgs.libsForQt5.qtbase.qtPluginPrefix}/kf5/kio";
|
||||
inherit (pkgs.libsForQt5.__internalKF5) kio;
|
||||
in
|
||||
pkgs.runCommand "kio5-plugins-only" { } ''
|
||||
mkdir -p $out/${kioPluginPath}
|
||||
|
||||
@@ -1,50 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdoctools,
|
||||
wrapQtAppsHook,
|
||||
qtscript,
|
||||
kconfig,
|
||||
kinit,
|
||||
shared-mime-info,
|
||||
xz,
|
||||
qttools,
|
||||
karchive,
|
||||
kcrash,
|
||||
kcmutils,
|
||||
kconfig,
|
||||
kconfigwidgets,
|
||||
kcrash,
|
||||
knewstuff,
|
||||
kparts,
|
||||
qca-qt5,
|
||||
shared-mime-info,
|
||||
qca,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "okteta";
|
||||
version = "0.26.25";
|
||||
version = "0.26.25-unstable-2026-04-28";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/okteta/${finalAttrs.version}/src/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-K+GJG/SYyzgDDKXbGtAixQJVfBwLj/asP9rIJUpbt2s=";
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "utilities";
|
||||
repo = "okteta";
|
||||
rev = "9ab055f50e7569c9a0bc401be4b5686dc1e61dcc";
|
||||
hash = "sha256-1ih0kFS7opA5w1QyB7MQAOYFoSAUPKNM8fRi1G/mq2U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qtscript
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [ shared-mime-info ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
kconfig
|
||||
kinit
|
||||
buildInputs = [
|
||||
shared-mime-info
|
||||
xz
|
||||
|
||||
qttools
|
||||
|
||||
karchive
|
||||
kcmutils
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kcrash
|
||||
knewstuff
|
||||
kparts
|
||||
qca-qt5
|
||||
karchive
|
||||
kcrash
|
||||
qca
|
||||
];
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
wrapQtAppsHook,
|
||||
}:
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
extra-cmake-modules,
|
||||
wrapQtAppsHook,
|
||||
kiconthemes,
|
||||
kio,
|
||||
kjobwidgets,
|
||||
kxmlgui,
|
||||
testers,
|
||||
k4dirstat,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "k4dirstat";
|
||||
version = "3.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeromerobert";
|
||||
repo = "k4dirstat";
|
||||
rev = version;
|
||||
hash = "sha256-TXMUtiPS7qRLm6cCy2ZntYrcNJ0fn6X+3o3P5u7oo08=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kiconthemes
|
||||
kio
|
||||
kjobwidgets
|
||||
kxmlgui
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = k4dirstat;
|
||||
command = "k4dirstat -platform offscreen --version &>/dev/stdout";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jeromerobert/k4dirstat";
|
||||
description = "Small utility program that sums up disk usage for directory trees";
|
||||
mainProgram = "k4dirstat";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.raboof ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
wrapQtAppsHook,
|
||||
kactivities,
|
||||
qtbase,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "KSmoothDock";
|
||||
version = "6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dangvd";
|
||||
repo = "ksmoothdock";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hO7xgjFMFrEhQs3oc2peFTjSVEDsl7Ma/TeVybEZMEk=";
|
||||
};
|
||||
|
||||
# Upstream seems dead and there are new deprecation warnings in KF5.100
|
||||
# Remember, kids: friends don't let friends build with -Werror
|
||||
postPatch = ''
|
||||
substituteInPlace src/CMakeLists.txt --replace "-Werror" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kactivities
|
||||
qtbase
|
||||
];
|
||||
|
||||
cmakeDir = "../src";
|
||||
|
||||
meta = {
|
||||
description = "Cool desktop panel for KDE Plasma 5";
|
||||
mainProgram = "ksmoothdock";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://dangvd.github.io/ksmoothdock/";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
extra-cmake-modules,
|
||||
shared-mime-info,
|
||||
wrapQtAppsHook,
|
||||
kcoreaddons,
|
||||
kdbusaddons,
|
||||
ki18n,
|
||||
kio,
|
||||
solid,
|
||||
kidletime,
|
||||
knotifications,
|
||||
kconfig,
|
||||
kinit,
|
||||
kjobwidgets,
|
||||
kcmutils,
|
||||
plasma-framework,
|
||||
libgit2,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kup";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
repo = "kup";
|
||||
owner = "system";
|
||||
rev = "kup-${version}";
|
||||
hash = "sha256-G/GXmcQI1OBnCE7saPHeHDAMeL2WR6nVttMlKV2e01I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
shared-mime-info
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
kdbusaddons
|
||||
ki18n
|
||||
kio
|
||||
solid
|
||||
kidletime
|
||||
knotifications
|
||||
kconfig
|
||||
kinit
|
||||
kjobwidgets
|
||||
plasma-framework
|
||||
libgit2
|
||||
kcmutils
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Backup tool for KDE";
|
||||
homepage = "https://apps.kde.org/kup";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.pwoelfel ];
|
||||
};
|
||||
}
|
||||
@@ -5,7 +5,6 @@
|
||||
cmake,
|
||||
qttools,
|
||||
wrapQtAppsHook,
|
||||
kirigami2,
|
||||
qtquickcontrols2,
|
||||
qtlocation,
|
||||
qtsensors,
|
||||
@@ -37,7 +36,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kirigami2
|
||||
qtquickcontrols2
|
||||
qtlocation
|
||||
qtsensors
|
||||
@@ -47,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
s2geometry
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DFLAVOR=kirigami" ];
|
||||
cmakeFlags = [ "-DFLAVOR=qtcontrols" ];
|
||||
|
||||
pythonPath = with python3.pkgs; [ gpxpy ];
|
||||
|
||||
|
||||
@@ -4,51 +4,63 @@
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
pkg-config,
|
||||
qmake,
|
||||
cmake,
|
||||
qtbase,
|
||||
kcoreaddons,
|
||||
kwidgetsaddons,
|
||||
qtsvg,
|
||||
wrapQtAppsHook,
|
||||
qttools,
|
||||
pugixml,
|
||||
}:
|
||||
|
||||
let
|
||||
singleApplication = fetchFromGitHub {
|
||||
owner = "itay-grudev";
|
||||
repo = "SingleApplication";
|
||||
tag = "v3.2.0";
|
||||
hash = "sha256-qjpPYPe1Oism6TetD/dMvTo1qyZKOsOPW+MzzNpJf3A=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qelectrotech";
|
||||
version = "0.9.0";
|
||||
version = "0.100";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qelectrotech";
|
||||
repo = "qelectrotech-source-mirror";
|
||||
tag = "0.9";
|
||||
hash = "sha256-tj8q+mRVtdeDXbpiv4retdbNiIfvAFlutXn7BmjqFYU=";
|
||||
tag = version;
|
||||
hash = "sha256-ElkqRiIHSXavXEw1ioFKL1cGnaBb2GXZuxgl98O4WuI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# stripped down version of https://codeberg.org/gentoo/gentoo/src/branch/master/sci-electronics/qelectrotech/files/qelectrotech-0.90_pre20250820-cmake.patch
|
||||
./system-pugixml.patch
|
||||
];
|
||||
|
||||
# fix wrong cmake conditional
|
||||
postPatch = ''
|
||||
substituteInPlace qelectrotech.pro \
|
||||
--replace-fail 'GIT_COMMIT_SHA="\\\"$(shell git -C \""$$_PRO_FILE_PWD_"\" rev-parse --verify HEAD)\\\""' \
|
||||
'GIT_COMMIT_SHA="\\\"${version}\\\""' \
|
||||
--replace-fail "COMPIL_PREFIX = '/usr/local/'" \
|
||||
"COMPIL_PREFIX = '$out/'" \
|
||||
--replace-fail "INSTALL_PREFIX = '/usr/local/'" \
|
||||
"INSTALL_PREFIX = '$out/'"
|
||||
substituteInPlace cmake/fetch_kdeaddons.cmake \
|
||||
--replace-fail "DEFINED BUILD_WITH_KF5" "BUILD_WITH_KF5"
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_WITH_KF5=OFF"
|
||||
# relies on vendored catch2
|
||||
"-DPACKAGE_TESTS=OFF"
|
||||
"-DFETCHCONTENT_SOURCE_DIR_SINGLEAPPLICATION=${singleApplication}"
|
||||
"-DBUILD_PUGIXML=OFF"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pkg-config
|
||||
qmake
|
||||
cmake
|
||||
wrapQtAppsHook
|
||||
qttools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
kwidgetsaddons
|
||||
qtbase
|
||||
qtsvg
|
||||
];
|
||||
|
||||
qmakeFlags = [
|
||||
"INSTALLROOT=$(out)"
|
||||
pugixml
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -121,7 +121,6 @@
|
||||
${QET_DIR}/sources/NameList
|
||||
${QET_DIR}/sources/NameList/ui
|
||||
${QET_DIR}/sources/utils
|
||||
- ${QET_DIR}/pugixml/src
|
||||
${QET_DIR}/sources/dataBase
|
||||
${QET_DIR}/sources/dataBase/ui
|
||||
${QET_DIR}/sources/factory/ui
|
||||
--- a/cmake/qet_compilation_vars.cmake
|
||||
+++ b/cmake/qet_compilation_vars.cmake
|
||||
@@ -421,10 +421,6 @@
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.cpp
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.h
|
||||
|
||||
- ${QET_DIR}/pugixml/src/pugiconfig.hpp
|
||||
- ${QET_DIR}/pugixml/src/pugixml.cpp
|
||||
- ${QET_DIR}/pugixml/src/pugixml.hpp
|
||||
-
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductor.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductor.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductortextitem.cpp
|
||||
--- a/sources/diagramcontext.h
|
||||
+++ b/sources/diagramcontext.h
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
#ifndef DIAGRAM_CONTEXT_H
|
||||
#define DIAGRAM_CONTEXT_H
|
||||
-#include "pugixml/src/pugixml.hpp"
|
||||
+#include <pugixml.hpp>
|
||||
|
||||
#include <QDomElement>
|
||||
#include <QHash>
|
||||
--- a/sources/ElementsCollection/elementslocation.h
|
||||
+++ b/sources/ElementsCollection/elementslocation.h
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "../NameList/nameslist.h"
|
||||
#include "../diagramcontext.h"
|
||||
-#include "pugixml/src/pugixml.hpp"
|
||||
+#include <pugixml.hpp>
|
||||
|
||||
#include <QIcon>
|
||||
#include <QString>
|
||||
--- a/sources/NameList/nameslist.h
|
||||
+++ b/sources/NameList/nameslist.h
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
#ifndef NAMES_LIST_H
|
||||
#define NAMES_LIST_H
|
||||
-#include "pugixml/src/pugixml.hpp"
|
||||
+#include <pugixml.hpp>
|
||||
|
||||
#include <QtXml>
|
||||
/**
|
||||
|
||||
@@ -2,26 +2,29 @@
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenv,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdoctools,
|
||||
wrapQtAppsHook,
|
||||
knotifyconfig,
|
||||
kidletime,
|
||||
kwindowsystem,
|
||||
kstatusnotifieritem,
|
||||
ktextwidgets,
|
||||
kcrash,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rsibreak";
|
||||
version = "0.12.13";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/rsibreak/${version}/rsibreak-${version}.tar.xz";
|
||||
sha256 = "N0C+f788fq5yotSC54H2K4WDc6PnGi8Nh/vXL4v0fxo=";
|
||||
url = "mirror://kde/stable/rsibreak/${lib.versions.majorMinor version}/rsibreak-${version}.tar.xz";
|
||||
hash = "sha256-arLOCcV9D+UXgwjqlfh9675VrpjPs3QkkireJZO60SA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
wrapQtAppsHook
|
||||
@@ -30,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
knotifyconfig
|
||||
kidletime
|
||||
kwindowsystem
|
||||
kstatusnotifieritem
|
||||
ktextwidgets
|
||||
kcrash
|
||||
];
|
||||
|
||||
+4
@@ -17,6 +17,10 @@ let
|
||||
inherit stdenv;
|
||||
# N/A on Qt5
|
||||
kimageformats = null;
|
||||
unwrapped = libsForQt5.callPackage ../telegram-desktop/unwrapped.nix {
|
||||
inherit stdenv;
|
||||
kcoreaddons = null;
|
||||
};
|
||||
};
|
||||
version = "1.4.9";
|
||||
tg_owt = telegram-desktop.tg_owt.overrideAttrs (oldAttrs: {
|
||||
|
||||
@@ -16,20 +16,9 @@
|
||||
boost,
|
||||
zlib,
|
||||
qtscript,
|
||||
phonon,
|
||||
libdbusmenu,
|
||||
qca-qt5,
|
||||
openldap,
|
||||
|
||||
withKDE ? true, # enable KDE integration
|
||||
extra-cmake-modules,
|
||||
kconfigwidgets,
|
||||
kcoreaddons,
|
||||
knotifications,
|
||||
knotifyconfig,
|
||||
ktextwidgets,
|
||||
kwidgetsaddons,
|
||||
kxmlgui,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -39,7 +28,6 @@ in
|
||||
|
||||
assert monolithic -> !client && !enableDaemon;
|
||||
assert client || enableDaemon -> !monolithic;
|
||||
assert !buildClient -> !withKDE; # KDE is used by the client only
|
||||
|
||||
let
|
||||
edf = flag: feature: [ ("-D" + feature + (if flag then "=ON" else "=OFF")) ];
|
||||
@@ -76,17 +64,6 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ lib.optionals buildClient [
|
||||
libdbusmenu
|
||||
phonon
|
||||
]
|
||||
++ lib.optionals (buildClient && withKDE) [
|
||||
extra-cmake-modules
|
||||
kconfigwidgets
|
||||
kcoreaddons
|
||||
knotifications
|
||||
knotifyconfig
|
||||
ktextwidgets
|
||||
kwidgetsaddons
|
||||
kxmlgui
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -97,8 +74,7 @@ stdenv.mkDerivation rec {
|
||||
++ edf monolithic "WANT_MONO"
|
||||
++ edf enableDaemon "WANT_CORE"
|
||||
++ edf enableDaemon "WITH_LDAP"
|
||||
++ edf client "WANT_QTCLIENT"
|
||||
++ edf withKDE "WITH_KDE";
|
||||
++ edf client "WANT_QTCLIENT";
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
pkg-config,
|
||||
extra-cmake-modules,
|
||||
shared-mime-info,
|
||||
bison,
|
||||
flex,
|
||||
wrapQtAppsHook,
|
||||
|
||||
qtbase,
|
||||
@@ -33,7 +36,7 @@
|
||||
netcdf,
|
||||
cfitsio,
|
||||
libcerf,
|
||||
# cantor,
|
||||
cantor,
|
||||
zlib,
|
||||
lz4,
|
||||
readstat,
|
||||
@@ -44,30 +47,33 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "labplot";
|
||||
version = "2.10.1";
|
||||
version = "2.12.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/labplot/labplot-${version}.tar.xz";
|
||||
sha256 = "sha256-K24YFRfPtuDf/3uJXz6yDHzjWeZzLThUXgdXya6i2u8=";
|
||||
hash = "sha256-4oFVv930DltvfEeRMTVW0eSBOARPIW8hDVFbn21sEGo=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
# Disable Vector BLF since it depends on DBC parser which fails to be detected
|
||||
"-DENABLE_VECTOR_BLF=OFF"
|
||||
patches = [
|
||||
# backport build fix
|
||||
# FIXME: remove in next update
|
||||
(fetchpatch {
|
||||
url = "https://invent.kde.org/education/labplot/-/commit/c2db2ec28aa8958f7041ae5cd03ddae9f44e5aa3.diff";
|
||||
hash = "sha256-0biKZXWMs5y1U9phAivEAbd2N4C/CiOKvk/QRAaPimo=";
|
||||
})
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "matio-fix-compilation-for-latest-version-1.5.27.patch";
|
||||
url = "https://github.com/KDE/labplot/commit/d6142308ffa492d9f7cea00fad3b4cd1babfd00c.patch";
|
||||
hash = "sha256-qD5jj6GxBKbQezKJb1Z8HnwFO84WJBGQDawS/6o/wHE=";
|
||||
})
|
||||
cmakeFlags = [
|
||||
"-DQT_FIND_PRIVATE_MODULES=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
extra-cmake-modules
|
||||
shared-mime-info
|
||||
bison
|
||||
flex
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -97,7 +103,7 @@ stdenv.mkDerivation rec {
|
||||
netcdf
|
||||
cfitsio
|
||||
libcerf
|
||||
# cantor
|
||||
cantor
|
||||
zlib
|
||||
lz4
|
||||
readstat
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
libvlc,
|
||||
libv4l,
|
||||
libx11,
|
||||
kidletime,
|
||||
kdelibs4support,
|
||||
libxscrnsaver,
|
||||
wrapQtAppsHook,
|
||||
qtx11extras,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kaffeine";
|
||||
version = "2.0.19";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
repo = "kaffeine";
|
||||
owner = "Multimedia";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AHyUS2vyeuWFLRXdIoy1sbssDgzz7N957vyf5rWiooI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libvlc
|
||||
libv4l
|
||||
libx11
|
||||
kidletime
|
||||
qtx11extras
|
||||
kdelibs4support
|
||||
libxscrnsaver
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "KDE media player";
|
||||
homepage = "https://apps.kde.org/kaffeine/";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.pasqui23 ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "kaffeine";
|
||||
};
|
||||
}
|
||||
@@ -5,11 +5,8 @@
|
||||
qmake,
|
||||
qttools,
|
||||
wrapQtAppsHook,
|
||||
phonon,
|
||||
phonon-backend-vlc,
|
||||
qtbase,
|
||||
qtdeclarative,
|
||||
qtx11extras,
|
||||
mpv,
|
||||
|
||||
# "Free" key generated by pasqui23
|
||||
@@ -18,21 +15,21 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minitube";
|
||||
version = "3.9.3";
|
||||
version = "4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
hash = "sha256-ROqROQsV8ddrxYT5mMdkf6rCgCoGr1jpxQ1ohcoEaQs=";
|
||||
rev = version;
|
||||
repo = "minitube";
|
||||
owner = "flaviotordini";
|
||||
tag = version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-JAxdPiiPDpmhJBiNtlaMbdcC/YEGJyc9mP3kBvee/74=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Taken from FreeBSD; already merged upstream in the media submodule
|
||||
# (https://github.com/flaviotordini/media/commit/f6b7020f273e1fc06e6e204fab37a7c8edaa857a)
|
||||
./lib_media_src_mpv_mpvwidget.patch
|
||||
];
|
||||
# https://github.com/NixOS/nixpkgs/issues/214765
|
||||
postPatch = ''
|
||||
substituteInPlace locale/locale.pri \
|
||||
--replace-fail '$$[QT_INSTALL_BINS]/lrelease' '${lib.getDev qttools}/bin/lrelease'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
@@ -41,11 +38,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
phonon
|
||||
phonon-backend-vlc
|
||||
qtbase
|
||||
qtdeclarative
|
||||
qtx11extras
|
||||
mpv
|
||||
];
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
diff -Nur a/lib/media/src/mpv/mpvwidget.cpp b/lib/media/src/mpv/mpvwidget.cpp
|
||||
--- a/lib/media/src/mpv/mpvwidget.cpp
|
||||
+++ b/lib/media/src/mpv/mpvwidget.cpp
|
||||
@@ -30,7 +30,11 @@
|
||||
qDebug() << "initializeGL" << nativeParent;
|
||||
if (nativeParent == nullptr) qFatal("No native parent");
|
||||
|
||||
- mpv_opengl_init_params gl_init_params{get_proc_address, this, nullptr};
|
||||
+ #if MPV_CLIENT_API_VERSION < MPV_MAKE_VERSION(2,0)
|
||||
+ mpv_opengl_init_params gl_init_params{get_proc_address, this, nullptr};
|
||||
+ #else
|
||||
+ mpv_opengl_init_params gl_init_params{get_proc_address, this};
|
||||
+ #endif
|
||||
mpv_render_param params[]{{MPV_RENDER_PARAM_API_TYPE, (void *)MPV_RENDER_API_TYPE_OPENGL},
|
||||
{MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params},
|
||||
{MPV_RENDER_PARAM_INVALID, nullptr},
|
||||
@@ -10,7 +10,7 @@
|
||||
cairo,
|
||||
ceres-solver,
|
||||
expat,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
glog,
|
||||
libxdmcp,
|
||||
python312,
|
||||
@@ -61,7 +61,7 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
qrcodegencpp,
|
||||
simde,
|
||||
nix-update-script,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -121,7 +121,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
wrapQtAppsHook
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
]
|
||||
++ optional scriptingSupport swig
|
||||
++ optional cudaSupport autoAddDriverRunpath;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
freetype,
|
||||
@@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qt5.wrapQtAppsHook
|
||||
]
|
||||
++ lib.optionals enableWayland [
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
fetchurl,
|
||||
lib,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
fftw,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
dbus,
|
||||
dbus-test-runner,
|
||||
evolution-data-server,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
glib,
|
||||
gst_all_1,
|
||||
gtest,
|
||||
@@ -93,11 +93,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
if enableLomiriFeatures then
|
||||
(
|
||||
[
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
mkcal
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
kcalendarcore
|
||||
__internalKF5.kcalendarcore
|
||||
qtbase
|
||||
])
|
||||
++ (with lomiri; [
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
cereal,
|
||||
cmake,
|
||||
eigen,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
fetchFromGitLab,
|
||||
fmt,
|
||||
freeglut,
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
||||
@@ -1,127 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
autoPatchelfHook,
|
||||
bzip2,
|
||||
cairo,
|
||||
fetchurl,
|
||||
gdk-pixbuf,
|
||||
glibc,
|
||||
pango,
|
||||
gtk2,
|
||||
libsForQt5,
|
||||
stdenv,
|
||||
runtimeShell,
|
||||
unzip,
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "bcompare4";
|
||||
version = "4.4.7.28397";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
|
||||
srcs = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://www.scootersoftware.com/bcompare-${version}_amd64.deb";
|
||||
sha256 = "sha256-4AWTSoYpVhGmBBxcwHXdg1CGd/04+8yL9pu+gHrsj6U";
|
||||
};
|
||||
|
||||
x86_64-darwin = fetchurl {
|
||||
url = "https://www.scootersoftware.com/BCompareOSX-${version}.zip";
|
||||
sha256 = "sha256-qbpM6hJbv+APo+ed45k3GXrl1HnZRxD1uT2lvaN3oM4=";
|
||||
};
|
||||
|
||||
aarch64-darwin = srcs.x86_64-darwin;
|
||||
};
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
linux = stdenv.mkDerivation {
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
meta
|
||||
;
|
||||
unpackPhase = ''
|
||||
ar x $src
|
||||
tar xfz data.tar.gz
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,lib,share}
|
||||
|
||||
cp -R usr/{bin,lib,share} $out/
|
||||
|
||||
# Remove library that refuses to be autoPatchelf'ed
|
||||
rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
|
||||
|
||||
substituteInPlace $out/bin/bcompare \
|
||||
--replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
|
||||
--replace "ldd" "${glibc.bin}/bin/ldd" \
|
||||
--replace "/bin/bash" "${runtimeShell}"
|
||||
|
||||
# Create symlink bzip2 library
|
||||
ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/beyondcompare/libbz2.so.1.0
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = [
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
gtk2
|
||||
pango
|
||||
cairo
|
||||
libsForQt5.kio
|
||||
libsForQt5.kservice
|
||||
libsForQt5.ki18n
|
||||
libsForQt5.kcoreaddons
|
||||
gdk-pixbuf
|
||||
bzip2
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
};
|
||||
|
||||
darwin = stdenv.mkDerivation {
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
meta
|
||||
;
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications/BCompare.app
|
||||
cp -R . $out/Applications/BCompare.app
|
||||
'';
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "GUI application that allows to quickly and easily compare files and folders";
|
||||
longDescription = ''
|
||||
Beyond Compare is focused. Beyond Compare allows you to quickly and easily compare your files and folders.
|
||||
By using simple, powerful commands you can focus on the differences you're interested in and ignore those you're not.
|
||||
You can then merge the changes, synchronize your files, and generate reports for your records.
|
||||
'';
|
||||
homepage = "https://www.scootersoftware.com";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [
|
||||
ktor
|
||||
arkivm
|
||||
];
|
||||
platforms = builtins.attrNames srcs;
|
||||
mainProgram = "bcompare";
|
||||
};
|
||||
in
|
||||
if stdenv.hostPlatform.isDarwin then darwin else linux
|
||||
@@ -8,7 +8,7 @@
|
||||
mint-x-icons,
|
||||
pantheon,
|
||||
jdupes,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
@@ -29,7 +29,7 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
# ubuntu-mono is also required but missing in ubuntu-themes (please add it if it is packaged at some point)
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
mint-x-icons
|
||||
@@ -40,6 +40,7 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
dontPatchELF = true;
|
||||
dontRewriteSymlinks = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -2,53 +2,57 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
qt5,
|
||||
libsForQt5,
|
||||
qt6,
|
||||
kdePackages,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
shared-mime-info,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "calligraplan";
|
||||
version = "3.3.0";
|
||||
version = "4.0.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "office";
|
||||
repo = "calligraplan";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-szPdRxbzJ2+nmgp+1FwmKZwHEDV8EtbDW/3jsw4J6HI=";
|
||||
hash = "sha256-OD719omgw+RZrFz6qWiFDFB4t6Lvvh2M2QXYAIh0H2I=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://invent.kde.org/office/calligraplan/-/commit/cdd85c895b487a8b3837bf8b864103997e0af544.patch";
|
||||
hash = "sha256-IMoJvvszPuIdWedeU7PQw8ngYmMA7k//wXfT+mZQP88=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
libsForQt5.kdbusaddons
|
||||
libsForQt5.kguiaddons
|
||||
libsForQt5.ki18n
|
||||
libsForQt5.kiconthemes
|
||||
libsForQt5.kitemviews
|
||||
libsForQt5.kjobwidgets
|
||||
libsForQt5.kio
|
||||
libsForQt5.knotifications
|
||||
libsForQt5.kparts
|
||||
libsForQt5.kinit
|
||||
libsForQt5.kdiagram
|
||||
libsForQt5.qt5.qtx11extras
|
||||
qt6.qtbase
|
||||
kdePackages.karchive
|
||||
kdePackages.kcalendarcore
|
||||
kdePackages.kconfig
|
||||
kdePackages.kconfigwidgets
|
||||
kdePackages.kcoreaddons
|
||||
kdePackages.kdbusaddons
|
||||
kdePackages.kdiagram
|
||||
kdePackages.kguiaddons
|
||||
kdePackages.kholidays
|
||||
kdePackages.ki18n
|
||||
kdePackages.kiconthemes
|
||||
kdePackages.kio
|
||||
kdePackages.kitemmodels
|
||||
kdePackages.kitemviews
|
||||
kdePackages.kjobwidgets
|
||||
kdePackages.knotifications
|
||||
kdePackages.kparts
|
||||
kdePackages.ktextwidgets
|
||||
kdePackages.kwidgetsaddons
|
||||
kdePackages.kwindowsystem
|
||||
kdePackages.kxmlgui
|
||||
kdePackages.plasma-activities
|
||||
kdePackages.sonnet
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
qt5.wrapQtAppsHook
|
||||
qt6.wrapQtAppsHook
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
shared-mime-info
|
||||
];
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -44,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
patchShebangs .
|
||||
|
||||
@@ -64,9 +64,7 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
substituteInPlace $cargoDepsCopy/*/sysproxy-*/src/linux.rs \
|
||||
--replace-fail '"gsettings"' '"${glib.bin}/bin/gsettings"' \
|
||||
--replace-fail '"kreadconfig5"' '"${libsForQt5.kconfig}/bin/kreadconfig5"' \
|
||||
--replace-fail '"kreadconfig6"' '"${kdePackages.kconfig}/bin/kreadconfig6"' \
|
||||
--replace-fail '"kwriteconfig5"' '"${libsForQt5.kconfig}/bin/kwriteconfig5"' \
|
||||
--replace-fail '"kwriteconfig6"' '"${kdePackages.kconfig}/bin/kwriteconfig6"'
|
||||
|
||||
# this file tries to override the linker used when compiling for certain platforms
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
leptonica,
|
||||
qt6,
|
||||
tesseract,
|
||||
@@ -33,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
qt6.qttools
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
darkly,
|
||||
libsForQt5,
|
||||
}:
|
||||
darkly.override { qtPackages = libsForQt5; }
|
||||
@@ -5,14 +5,11 @@
|
||||
cmake,
|
||||
ninja,
|
||||
kdePackages,
|
||||
qtPackages ? kdePackages,
|
||||
qt6,
|
||||
gitUpdater,
|
||||
}:
|
||||
let
|
||||
qtMajorVersion = lib.versions.major qtPackages.qtbase.version;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "darkly-qt${qtMajorVersion}";
|
||||
pname = "darkly";
|
||||
version = "0.5.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -25,34 +22,27 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
qtPackages.wrapQtAppsHook
|
||||
qtPackages.extra-cmake-modules
|
||||
qt6.wrapQtAppsHook
|
||||
kdePackages.extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
with qtPackages;
|
||||
[
|
||||
qtbase
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kcmutils
|
||||
kguiaddons
|
||||
ki18n
|
||||
kiconthemes
|
||||
kwindowsystem
|
||||
]
|
||||
++ lib.optionals (qtMajorVersion == "5") [
|
||||
kirigami2
|
||||
]
|
||||
++ lib.optionals (qtMajorVersion == "6") [
|
||||
kcolorscheme
|
||||
kdecoration
|
||||
kirigami
|
||||
];
|
||||
buildInputs = with kdePackages; [
|
||||
qtbase
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kcmutils
|
||||
kguiaddons
|
||||
ki18n
|
||||
kiconthemes
|
||||
kwindowsystem
|
||||
kcolorscheme
|
||||
kdecoration
|
||||
kirigami
|
||||
];
|
||||
|
||||
cmakeFlags = map (v: lib.cmakeBool "BUILD_QT${v}" (v == qtMajorVersion)) [
|
||||
"5"
|
||||
"6"
|
||||
cmakeFlags = [
|
||||
"-DBUILD_QT5=OFF"
|
||||
"-DBUILD_QT6=ON"
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
@@ -64,8 +54,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
platforms = lib.platforms.linux;
|
||||
license = with lib.licenses; [ gpl2Plus ];
|
||||
maintainers = with lib.maintainers; [ pluiedev ];
|
||||
}
|
||||
// lib.optionalAttrs (qtMajorVersion == "6") {
|
||||
mainProgram = "darkly-settings6";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
gitUpdater,
|
||||
|
||||
cmake,
|
||||
pkg-config,
|
||||
ninja,
|
||||
extra-cmake-modules,
|
||||
flex,
|
||||
bison,
|
||||
wrapGAppsHook3,
|
||||
@@ -81,8 +81,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
ninja
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
flex
|
||||
bison
|
||||
kdePackages.wrapQtAppsHook
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
cargo,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
cmake,
|
||||
kdePackages,
|
||||
rustc,
|
||||
rustPlatform,
|
||||
fetchpatch,
|
||||
@@ -91,7 +93,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
cmake
|
||||
kdePackages.extra-cmake-modules
|
||||
rustc
|
||||
rustPlatform.cargoSetupHook
|
||||
qt6Packages.wrapQtAppsHook
|
||||
|
||||
@@ -1,187 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
fetchzip,
|
||||
autoPatchelfHook,
|
||||
gitMinimal,
|
||||
gobject-introspection,
|
||||
makeWrapper,
|
||||
nodejs_20,
|
||||
pnpm_10_29_2,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
electron,
|
||||
atk,
|
||||
atkmm,
|
||||
cairo,
|
||||
cairomm,
|
||||
gdk-pixbuf,
|
||||
glib,
|
||||
glibmm,
|
||||
gtk3,
|
||||
gtkmm3,
|
||||
harfbuzz,
|
||||
libsForQt5,
|
||||
pango,
|
||||
pangomm,
|
||||
libxt,
|
||||
libxtst,
|
||||
libxrandr,
|
||||
libx11,
|
||||
libxcb,
|
||||
zlib,
|
||||
nix-update-script,
|
||||
commandLineArgs ? "",
|
||||
}:
|
||||
|
||||
let
|
||||
pnpm' = pnpm_10_29_2.override { nodejs = nodejs_20; };
|
||||
eSearch-OCR-ch = fetchzip {
|
||||
url = "https://github.com/xushengfeng/eSearch-OCR/releases/download/4.0.0/ch.zip";
|
||||
hash = "sha256-0NCXuy8k9/AdpK4ie49S8032u37gNhX6Jc6bOGufrV4=";
|
||||
stripRoot = false;
|
||||
};
|
||||
eSearch-OCR-doc_cls = fetchurl {
|
||||
url = "https://github.com/xushengfeng/eSearch-OCR/releases/download/8.1.0/doc_cls.onnx";
|
||||
hash = "sha256-9VFoIq+SYnEeGX/yJKip2IT4BGpjIbdi40+MvwgsRe8=";
|
||||
};
|
||||
eSearch-seg = fetchurl {
|
||||
url = "https://github.com/xushengfeng/eSearch-seg/releases/download/1.0.0/seg.onnx";
|
||||
hash = "sha256-IJSPX4Kg7wIPjdXVmpGbeSk2y98OS+tJrIth9W+J/Q8=";
|
||||
};
|
||||
eSearch-migan_pipeline_v2 = fetchurl {
|
||||
url = "https://github.com/xushengfeng/eSearch/releases/download/13.1.6/migan_pipeline_v2.onnx";
|
||||
hash = "sha256-bx81MKGiMksZdSAYznVgiLB5c82o19iQA0rOXIpIxAs=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "e-search";
|
||||
version = "15.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xushengfeng";
|
||||
repo = "eSearch";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-wzSspt1qJpBgw4MyiK+vhRjoybNcaaa9nWBPV0bctiM=";
|
||||
};
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
nativeBuildInputs = [ gitMinimal ];
|
||||
pnpm = pnpm';
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-gP/0WeVp+Y8QgPmAmbFt+cInX6+4oxPIYlwFpSh2hPQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
gobject-introspection
|
||||
pnpmConfigHook
|
||||
pnpm'
|
||||
makeWrapper
|
||||
nodejs_20
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
atkmm
|
||||
cairo
|
||||
cairomm
|
||||
gdk-pixbuf
|
||||
glib
|
||||
glibmm
|
||||
gtk3
|
||||
gtkmm3
|
||||
harfbuzz
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libsForQt5.kauth
|
||||
libsForQt5.kcodecs
|
||||
libsForQt5.kcompletion
|
||||
libsForQt5.kconfigwidgets
|
||||
libsForQt5.kcoreaddons
|
||||
libsForQt5.kitemviews
|
||||
libsForQt5.kjobwidgets
|
||||
libsForQt5.kservice
|
||||
libsForQt5.kwidgetsaddons
|
||||
libsForQt5.kio
|
||||
libsForQt5.qt5.qtbase
|
||||
libsForQt5.qt5.qtnetworkauth
|
||||
libsForQt5.qt5.qttools
|
||||
libsForQt5.qt5.qtxmlpatterns
|
||||
pango
|
||||
pangomm
|
||||
libx11
|
||||
libxrandr
|
||||
libxt
|
||||
libxtst
|
||||
libxcb
|
||||
zlib
|
||||
];
|
||||
|
||||
env = {
|
||||
ELECTRON_OVERRIDE_DIST_PATH = "${electron}/libexec/electron";
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p assets/onnx/ppocr assets/onnx/seg assets/onnx/inpaint
|
||||
cp --recursive --no-preserve=mode ${eSearch-OCR-ch}/* assets/onnx/ppocr
|
||||
cp --no-preserve=mode ${eSearch-OCR-doc_cls} assets/onnx/ppocr/doc_cls.onnx
|
||||
cp --no-preserve=mode ${eSearch-seg} assets/onnx/seg/seg.onnx
|
||||
cp --no-preserve=mode ${eSearch-migan_pipeline_v2} assets/onnx/inpaint/migan_pipeline_v2.onnx
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
npm run build
|
||||
npm exec electron-builder -- \
|
||||
--linux \
|
||||
--dir \
|
||||
-p never \
|
||||
--config electron-builder.config.js \
|
||||
--config.electronDist=${electron.dist} \
|
||||
--config.electronVersion=${electron.version}
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/eSearch
|
||||
${
|
||||
if stdenv.hostPlatform.isAarch64 then
|
||||
"cp -r build/linux-arm64-unpacked/{resources,LICENSE*} $out/share/eSearch"
|
||||
else
|
||||
"cp -r build/linux-unpacked/{resources,LICENSE*} $out/share/eSearch"
|
||||
}
|
||||
makeWrapper ${lib.getExe electron} $out/bin/e-search \
|
||||
--inherit-argv0 \
|
||||
--add-flags $out/share/eSearch/resources/app \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true --wayland-text-input-version=3}}" \
|
||||
--add-flags ${lib.escapeShellArg commandLineArgs}
|
||||
for icon_size in 16x16 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024; do
|
||||
install -Dm0644 assets/logo/$icon_size.png $out/share/icons/hicolor/$icon_size/apps/e-search.png
|
||||
done
|
||||
install -Dm0644 assets/e-search.desktop $out/share/applications/e-search.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Screenshot OCR search translate search for picture paste the picture on the screen screen recorder";
|
||||
homepage = "https://github.com/xushengfeng/eSearch";
|
||||
changelog = "https://github.com/xushengfeng/eSearch/releases/tag/${finalAttrs.version}";
|
||||
mainProgram = "e-search";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ qzylinra ];
|
||||
};
|
||||
})
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
dbus,
|
||||
libx11,
|
||||
libxcb,
|
||||
@@ -47,7 +47,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
cargoHash = "sha256-E3z8NfKZiQsaYqDKXSIltETa4cSL0ShHnUMymjH5pas=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
makeWrapper
|
||||
wxwidgets_3_2
|
||||
|
||||
@@ -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"),
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
fcitx5,
|
||||
anthy,
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext # msgfmt
|
||||
pkg-config
|
||||
zstd
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
fmt,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
gettext,
|
||||
fcitx5,
|
||||
sqlite,
|
||||
@@ -23,11 +23,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
fmt
|
||||
fcitx5
|
||||
sqlite
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
fcitx5,
|
||||
gettext,
|
||||
go,
|
||||
@@ -25,12 +25,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
go
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
fcitx5
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
gettext,
|
||||
fcitx5,
|
||||
libchewing,
|
||||
@@ -22,7 +23,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
fcitx5,
|
||||
gobject-introspection,
|
||||
glib,
|
||||
@@ -71,7 +72,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
gettext,
|
||||
fcitx5,
|
||||
libhangul,
|
||||
@@ -23,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
fcitx5,
|
||||
m17n_lib,
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
gettext
|
||||
];
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
gettext,
|
||||
json_c,
|
||||
icu,
|
||||
@@ -26,11 +27,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
fcitx5
|
||||
fmt
|
||||
gtest
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
gettext,
|
||||
zstd,
|
||||
fcitx5,
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
gettext
|
||||
zstd
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
gettext,
|
||||
libime,
|
||||
boost,
|
||||
@@ -23,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
libime
|
||||
fcitx5
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
gettext,
|
||||
libime,
|
||||
boost,
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
libime
|
||||
fcitx5
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
pkg-config,
|
||||
buildPackages,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
wayland-scanner,
|
||||
cairo,
|
||||
pango,
|
||||
@@ -61,13 +61,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
gettext
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
expat
|
||||
isocodes
|
||||
cairo
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
pantheon,
|
||||
gnome-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
pantheon.elementary-icon-theme
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
@@ -33,6 +33,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
dontFixup = true;
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
gtk3,
|
||||
gnome-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
@@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = {
|
||||
description = "Gruvbox icons for GTK based desktop environments";
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
asciidoc,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
icecream,
|
||||
libcap_ng,
|
||||
lzo,
|
||||
@@ -27,7 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
# build
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
writableTmpDirAsHomeHook,
|
||||
@@ -37,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
kdePackages.wrapQtAppsHook
|
||||
pkg-config
|
||||
writableTmpDirAsHomeHook
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
qt5,
|
||||
apr,
|
||||
aprutil,
|
||||
subversion,
|
||||
subversionClient,
|
||||
libsForQt5,
|
||||
extra-cmake-modules,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "kdesvn";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "sdk";
|
||||
repo = "kdesvn";
|
||||
rev = "2028bc2f3621510db05e437e33f5cc225a7cd16b";
|
||||
hash = "sha256-IaERXT648v2nTW89V6gpf7Dt95GJd92QmC50de+Knq8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.1.0)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSUBVERSION_INSTALL_PATH=${lib.getDev subversion}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qt5.wrapQtAppsHook
|
||||
apr.dev
|
||||
aprutil.dev
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
subversion
|
||||
subversionClient
|
||||
libsForQt5.kbookmarks
|
||||
libsForQt5.kcodecs
|
||||
libsForQt5.kcompletion
|
||||
libsForQt5.kconfig
|
||||
libsForQt5.kconfigwidgets
|
||||
libsForQt5.kcoreaddons
|
||||
libsForQt5.kdbusaddons
|
||||
libsForQt5.kdoctools
|
||||
libsForQt5.ki18n
|
||||
libsForQt5.kiconthemes
|
||||
libsForQt5.kitemviews
|
||||
libsForQt5.kjobwidgets
|
||||
libsForQt5.kio
|
||||
libsForQt5.knotifications
|
||||
libsForQt5.kparts
|
||||
libsForQt5.kservice
|
||||
libsForQt5.ktextwidgets
|
||||
libsForQt5.kwallet
|
||||
libsForQt5.kwidgetsaddons
|
||||
libsForQt5.kxmlgui
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://invent.kde.org/sdk/kdesvn";
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
mainProgram = "kdesvn";
|
||||
description = "Subversion client by KDE";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
};
|
||||
}
|
||||
@@ -2,8 +2,8 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
extra-cmake-modules,
|
||||
boost,
|
||||
cmake,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
@@ -17,7 +17,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
cmake
|
||||
kdePackages.extra-cmake-modules
|
||||
kdePackages.kdoctools
|
||||
kdePackages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 03dfe43..33553f8 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
project(kgraphviewer VERSION "2.4.3")
|
||||
set(KGRAPHVIEWERLIB_SOVERION 3)
|
||||
@@ -1,56 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
libsForQt5,
|
||||
boost,
|
||||
graphviz,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kgraphviewer";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/kgraphviewer/${finalAttrs.version}/kgraphviewer-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "1h6pgg89gvxl8gw7wmkabyqqrzad5pxyv5lsmn1fl4ir8lcc5q2l";
|
||||
};
|
||||
|
||||
patches = [ ./cmake-minimum-required.patch ];
|
||||
|
||||
buildInputs = [
|
||||
libsForQt5.qtbase
|
||||
libsForQt5.qtsvg
|
||||
boost
|
||||
graphviz
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
libsForQt5.kdoctools
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with libsForQt5; [
|
||||
kconfig
|
||||
kinit
|
||||
kio
|
||||
kparts
|
||||
kwidgetsaddons
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Graphviz dot graph viewer for KDE";
|
||||
mainProgram = "kgraphviewer";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -7,7 +7,7 @@
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
withWayland ? true,
|
||||
withIndicator ? true,
|
||||
dbus,
|
||||
@@ -121,7 +121,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
rustPlatform.bindgenHook
|
||||
rustPlatform.cargoSetupHook
|
||||
rustc
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchgit,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
libsForQt5,
|
||||
fuse3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kio-fuse";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://invent.kde.org/system/kio-fuse.git";
|
||||
hash = "sha256-xVeDNkSeHCk86L07lPVokSgHNkye2tnLoCkdw4g2Jv0=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsForQt5.kio
|
||||
fuse3
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "FUSE Interface for KIO";
|
||||
homepage = "https://invent.kde.org/system/kio-fuse";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ _1000teslas ];
|
||||
};
|
||||
})
|
||||
@@ -2,7 +2,6 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
lib,
|
||||
extra-cmake-modules,
|
||||
exiv2,
|
||||
ffmpeg,
|
||||
libvlc,
|
||||
@@ -27,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
kdePackages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
lib,
|
||||
extra-cmake-modules,
|
||||
cmake,
|
||||
kdePackages,
|
||||
taglib,
|
||||
exiv2,
|
||||
@@ -40,7 +40,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
cmake
|
||||
kdePackages.extra-cmake-modules
|
||||
kdePackages.kdoctools
|
||||
kdePackages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
extra-cmake-modules,
|
||||
cmake,
|
||||
kdePackages,
|
||||
}:
|
||||
@@ -18,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
kdePackages.kdoctools
|
||||
kdePackages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -3,43 +3,37 @@
|
||||
lib,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
libsForQt5,
|
||||
qt6,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ksnip";
|
||||
version = "1.10.1";
|
||||
version = "1.10.1-unstable-2026-02-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ksnip";
|
||||
repo = "ksnip";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-n7YwDXd73hyrzb6L8utZFuHh9HnjVtkU6CC4jfWPj/I=";
|
||||
rev = "f50e2764d0d51af2fd06c9d70f1e5f1631726975";
|
||||
hash = "sha256-XehTMbvSRHfwTy6+Rv2QavQfRs6lK1+sd04iOZZZH4c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with latest kImageAnnotator
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ksnip/ksnip/commit/76f4b381971eead6ff31b8bf3bb64bb5717469c3.patch";
|
||||
hash = "sha256-JWoI974qDNZIzr/8oksI8m6g3XNWEaQRGsqSfvQrmao=";
|
||||
})
|
||||
cmakeFlags = [
|
||||
"-DBUILD_WITH_QT6=ON"
|
||||
"-DQT_FIND_PRIVATE_MODULES=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
qttools
|
||||
]);
|
||||
kdePackages.extra-cmake-modules
|
||||
qt6.wrapQtAppsHook
|
||||
qt6.qttools
|
||||
];
|
||||
|
||||
buildInputs = with libsForQt5; [
|
||||
kcolorpicker
|
||||
kimageannotator
|
||||
qtsvg
|
||||
qtx11extras
|
||||
buildInputs = [
|
||||
kdePackages.kcolorpicker
|
||||
kdePackages.kimageannotator
|
||||
qt6.qtsvg
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cmake,
|
||||
libsForQt5,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ktextaddons";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/ktextaddons/ktextaddons-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-mB7Hh2Ljrg8D2GxDyHCa1s6CVmg5DDkhwafEqtSqUeM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
]);
|
||||
|
||||
buildInputs = with libsForQt5; [
|
||||
karchive
|
||||
kconfigwidgets
|
||||
kcoreaddons
|
||||
ki18n
|
||||
kxmlgui
|
||||
qtkeychain
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Various text handling addons for KDE applications";
|
||||
homepage = "https://invent.kde.org/libraries/ktextaddons/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
})
|
||||
@@ -5,7 +5,7 @@
|
||||
gnome-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
pantheon,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -20,13 +20,14 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
pantheon.elementary-icon-theme
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs configure
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
boost,
|
||||
python3,
|
||||
fcitx5,
|
||||
@@ -48,7 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
kdePackages.extra-cmake-modules
|
||||
python3
|
||||
];
|
||||
|
||||
|
||||
@@ -3,32 +3,31 @@
|
||||
fetchFromGitLab,
|
||||
stdenv,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
qt6,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "licensedigger";
|
||||
version = "0-unstable-2024-08-28";
|
||||
version = "0-unstable-2025-08-19";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "SDK";
|
||||
repo = "licensedigger";
|
||||
rev = "cc4b24d3fb67afa8fb0a9ef61210588958eaf0f5";
|
||||
hash = "sha256-/ZEja+iDx0lVkJaLshPd1tZD4ZUspVeFHY1TNXjr4qg=";
|
||||
rev = "711236617bfdeb4f72fecec3ab29bc25806337e5";
|
||||
hash = "sha256-IuH7K2Hhhdzw01fypiabv8/tClt+0rr4j94JAy8VKN4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsForQt5.qtbase
|
||||
qt6.qtbase
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = {
|
||||
description = "Tools to convert existing license headers to SPDX compliant headers";
|
||||
homepage = "https://invent.kde.org/sdk/licensedigger";
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
gtk3,
|
||||
hicolor-icon-theme,
|
||||
libsForQt5,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "maia-icon-theme";
|
||||
version = "2018-02-24";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.manjaro.org";
|
||||
group = "artwork";
|
||||
owner = "themes";
|
||||
repo = "maia";
|
||||
rev = "b61312cc80cb9d12b0d8a55b3e61668eb6b77d2d";
|
||||
sha256 = "1g98snlh96z4sqw9sfd7fxgamh45pcj3lh1kcmng7mirvrcn2pam";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
gtk3
|
||||
libsForQt5.plasma-framework
|
||||
libsForQt5.kwindowsystem
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
|
||||
substituteInPlace {icons,icons-dark}/CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache $theme
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Icons based on Breeze and Super Flat Remix";
|
||||
homepage = "https://gitlab.manjaro.org/artwork/themes/maia";
|
||||
license = lib.licenses.lgpl3;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
SDL2,
|
||||
cmake,
|
||||
enet,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
fetchFromGitHub,
|
||||
faad2,
|
||||
libGL,
|
||||
@@ -40,12 +40,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
SDL2
|
||||
enet
|
||||
faad2
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
testers,
|
||||
cmake,
|
||||
doxygen,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
graphviz,
|
||||
libsForQt5,
|
||||
perl,
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
doxygen
|
||||
graphviz
|
||||
perl
|
||||
@@ -55,7 +55,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]);
|
||||
|
||||
buildInputs = with libsForQt5; [
|
||||
kcalendarcore
|
||||
kdePackages.extra-cmake-modules
|
||||
__internalKF5.kcalendarcore
|
||||
qtbase
|
||||
qtpim
|
||||
timed
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
pkg-config,
|
||||
alsa-lib,
|
||||
dssi,
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
libsForQt5.qttools
|
||||
libsForQt5.wrapQtAppsHook
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
qt6Packages,
|
||||
stdenv,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
inotify-tools,
|
||||
kdePackages,
|
||||
libcloudproviders,
|
||||
@@ -54,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
librsvg
|
||||
sphinx
|
||||
qt6Packages.wrapQtAppsHook
|
||||
|
||||
@@ -27,6 +27,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -27,6 +27,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
gnome-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
gitUpdater,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -27,12 +27,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
adwaita-icon-theme
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
cmake,
|
||||
ninja,
|
||||
qt6,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
ninja
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
plasma5Packages,
|
||||
kdePackages,
|
||||
hicolor-icon-theme,
|
||||
}:
|
||||
|
||||
@@ -23,11 +23,12 @@ stdenvNoCC.mkDerivation rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
plasma5Packages.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
|
||||
@@ -51,7 +51,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsForQt5.kirigami2
|
||||
libsForQt5.qtquickcontrols2
|
||||
libsForQt5.qtlocation
|
||||
valhalla
|
||||
@@ -69,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
qmakeFlags = [
|
||||
"SCOUT_FLAVOR=kirigami" # Choose to build the kirigami UI variant
|
||||
"SCOUT_FLAVOR=qtcontrols"
|
||||
"CONFIG+=disable_mapnik" # Disable the optional mapnik backend
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
glib,
|
||||
libnotify,
|
||||
libpulseaudio,
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
gnome-icon-theme,
|
||||
papirus-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
gnome-icon-theme
|
||||
papirus-icon-theme
|
||||
hicolor-icon-theme
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
cmake,
|
||||
cubeb,
|
||||
curl,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
ffmpeg,
|
||||
gtk3,
|
||||
libxrandr,
|
||||
@@ -75,7 +75,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
strip-nondeterminism
|
||||
wrapGAppsHook3
|
||||
@@ -84,6 +84,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
curl
|
||||
ffmpeg
|
||||
gtk3
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
exiv2,
|
||||
graphicsmagick,
|
||||
libarchive,
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
qt6.qttools
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pipewire,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
libsForQt5,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pipecontrol";
|
||||
version = "0.2.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "portaloffreedom";
|
||||
repo = "pipecontrol";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WvQFmoEaxnkI61wPldSnMAoPAxNtI399hdHb/9bkPqc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
libsForQt5.wrapQtAppsHook
|
||||
libsForQt5.qttools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pipewire
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
qtbase
|
||||
kirigami2
|
||||
kcoreaddons
|
||||
ki18n
|
||||
qtquickcontrols2
|
||||
]);
|
||||
|
||||
meta = {
|
||||
description = "Pipewire control GUI program in Qt (Kirigami2)";
|
||||
mainProgram = "pipecontrol";
|
||||
homepage = "https://github.com/portaloffreedom/pipecontrol";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ tilcreator ];
|
||||
};
|
||||
})
|
||||
@@ -1,44 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
cmake,
|
||||
libsForQt5,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "playbar2";
|
||||
version = "2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jsmitar";
|
||||
repo = "PlayBar2";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kC04yyt0vCsie8HGJySSiDNzkWKAGncmyOKrRx2pYkc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
libsForQt5.extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsForQt5.plasma-framework
|
||||
libsForQt5.kwindowsystem
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Mpris2 Client for Plasma5";
|
||||
homepage = "https://github.com/jsmitar/PlayBar2";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ pjones ];
|
||||
};
|
||||
})
|
||||
@@ -1,59 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
libsForQt5,
|
||||
}:
|
||||
|
||||
# how to update:
|
||||
# 1. check out the tag for the version in question
|
||||
# 2. run `prefetch-npm-deps package-lock.json`
|
||||
# 3. update npmDepsHash with the output of the previous step
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "polonium";
|
||||
version = "1.0rc";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeroxoneafour";
|
||||
repo = "polonium";
|
||||
rev = "v" + version;
|
||||
hash = "sha256-AdMeIUI7ZdctpG/kblGdk1DBy31nDyolPVcTvLEHnNs=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-kaT3Uyq+/JkmebakG9xQuR4Kjo7vk6BzI1/LffOj/eo=";
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
# the installer does a bunch of stuff that fails in our sandbox, so just build here and then we
|
||||
# manually do the install
|
||||
buildFlags = [
|
||||
"res"
|
||||
"src"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with libsForQt5; [ plasma-framework ];
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
plasmapkg2 --install pkg --packageroot $out/share/kwin/scripts
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Auto-tiler that uses KWin 6.0+ tiling functionality";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
peterhoeg
|
||||
kotatsuyaki
|
||||
HeitorAugustoLN
|
||||
];
|
||||
inherit (libsForQt5.plasma-framework.meta) platforms;
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
cmake,
|
||||
exiv2,
|
||||
extra-cmake-modules,
|
||||
fetchFromGitLab,
|
||||
imagemagick,
|
||||
libarchive,
|
||||
@@ -30,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
qt6Packages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
cmark,
|
||||
extra-cmake-modules,
|
||||
gamemode,
|
||||
jdk17,
|
||||
kdePackages,
|
||||
@@ -44,8 +44,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
ninja
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
jdk17
|
||||
stripJavaArchivesHook
|
||||
];
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
gettext,
|
||||
gphoto2,
|
||||
libgphoto2,
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
gettext
|
||||
gphoto2
|
||||
libgphoto2
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
cmake,
|
||||
ninja,
|
||||
kdePackages,
|
||||
libsForQt5,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -18,11 +17,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-aJ5ZdIX10nmhzMLjP6QMuFJHvljJD+xcojuKZjPkr70=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"qt5"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
@@ -35,34 +29,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
kdePackages.kiconthemes
|
||||
];
|
||||
|
||||
# Workaround for Qt5/Qt6 dual support, similar to breeze (pkgs/kde/plasma/breeze)
|
||||
cmakeFlags = [
|
||||
"-DQT6_PLUGINDIR=${placeholder "out"}/${kdePackages.qtbase.qtPluginPrefix}"
|
||||
"-DQT5_PLUGINDIR=${placeholder "qt5"}/${libsForQt5.qtbase.qtPluginPrefix}"
|
||||
"-DQT5_LIBDIR=${placeholder "qt5"}/lib"
|
||||
"-DQt5_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5"
|
||||
"-DQt5Core_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Core"
|
||||
"-DQt5DBus_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5DBus"
|
||||
"-DQt5Gui_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Gui"
|
||||
"-DQt5Widgets_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Widgets"
|
||||
"-DQt5Xml_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Xml"
|
||||
"-DQt5ThemeSupport_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5ThemeSupport"
|
||||
"-DQt5ThemeSupport_LIBRARY=${libsForQt5.qtbase.out}/lib/libQt5ThemeSupport.a"
|
||||
"-DQt5ThemeSupport_INCLUDE_DIR=${libsForQt5.qtbase.dev}/include/QtThemeSupport/${libsForQt5.qtbase.version}"
|
||||
"-DQt5Network_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Network"
|
||||
"-DQt5Qml_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5Qml"
|
||||
"-DQt5Quick_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5Quick"
|
||||
"-DQt5QmlModels_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5QmlModels"
|
||||
"-DQt5QuickControls2_DIR=${libsForQt5.qtquickcontrols2.dev}/lib/cmake/Qt5QuickControls2"
|
||||
|
||||
"-DKF5Auth_DIR=${libsForQt5.kauth.dev}/lib/cmake/KF5Auth"
|
||||
"-DKF5Codecs_DIR=${libsForQt5.kcodecs.dev}/lib/cmake/KF5Codecs"
|
||||
"-DKF5Config_DIR=${libsForQt5.kconfig.dev}/lib/cmake/KF5Config"
|
||||
"-DKF5ConfigWidgets_DIR=${libsForQt5.kconfigwidgets.dev}/lib/cmake/KF5ConfigWidgets"
|
||||
"-DKF5CoreAddons_DIR=${libsForQt5.kcoreaddons.dev}/lib/cmake/KF5CoreAddons"
|
||||
"-DKF5GuiAddons_DIR=${libsForQt5.kguiaddons.dev}/lib/cmake/KF5GuiAddons"
|
||||
"-DKF5IconThemes_DIR=${libsForQt5.kiconthemes.dev}/lib/cmake/KF5IconThemes"
|
||||
"-DKF5WidgetsAddons_DIR=${libsForQt5.kwidgetsaddons.dev}/lib/cmake/KF5WidgetsAddons"
|
||||
"-DBUILD_QT5=OFF"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
unstableGitUpdater,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
libsForQt5,
|
||||
mkcal,
|
||||
pkg-config,
|
||||
@@ -31,15 +31,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
mkcal
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
kcalendarcore
|
||||
__internalKF5.kcalendarcore
|
||||
qtbase
|
||||
qtpim
|
||||
]);
|
||||
|
||||
@@ -60,6 +60,7 @@ lib.checkListOfEnum "${pname}: color variants"
|
||||
# Package may install many small files.
|
||||
dontPatchELF = true;
|
||||
dontRewriteSymlinks = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
# FIXME: https://github.com/yeyushengfan258/Reversal-icon-theme/issues/108
|
||||
dontCheckForBrokenSymlinks = true;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
qt6,
|
||||
nix-update-script,
|
||||
@@ -23,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
kdePackages,
|
||||
libsForQt5,
|
||||
cmake,
|
||||
SDL,
|
||||
@@ -25,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
libsForQt5.extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
(python3.withPackages (
|
||||
pp: with pp; [
|
||||
pyyaml
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
ffmpeg_6,
|
||||
pkg-config,
|
||||
ffmpeg_7,
|
||||
openal,
|
||||
stdenv,
|
||||
libsForQt5,
|
||||
qt6,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -21,16 +22,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-zGbI960NerlOEUvhOLm+lEJdbhj8VFUfm8pkOYGRcGw=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DQT_MAJOR_VERSION=6"
|
||||
"-DQT_FIND_PRIVATE_MODULES=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
libsForQt5.wrapQtAppsHook
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [
|
||||
ffmpeg_6
|
||||
ffmpeg_7
|
||||
openal
|
||||
qt6.qt5compat
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
++ (with kdePackages; [
|
||||
kcodecs
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
fetchFromGitHub,
|
||||
davfs2,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
stdenv,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
adwaita-icon-theme,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
gtk3,
|
||||
hicolor-icon-theme,
|
||||
jdupes,
|
||||
@@ -52,11 +52,12 @@ lib.checkListOfEnum "tela-circle-icon-theme: color variants"
|
||||
|
||||
propagatedBuildInputs = [
|
||||
adwaita-icon-theme
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
# These fixup steps are slow and unnecessary for this package.
|
||||
# Package may install almost 400 000 small files.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
gtk3,
|
||||
jdupes,
|
||||
adwaita-icon-theme,
|
||||
libsForQt5,
|
||||
kdePackages,
|
||||
hicolor-icon-theme,
|
||||
}:
|
||||
|
||||
@@ -27,11 +27,12 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
adwaita-icon-theme
|
||||
libsForQt5.breeze-icons
|
||||
kdePackages.breeze-icons
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
# These fixup steps are slow and unnecessary.
|
||||
dontPatchELF = true;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
capnproto,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
fetchFromGitHub,
|
||||
fontconfig,
|
||||
installShellFiles,
|
||||
@@ -31,7 +31,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
capnproto
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
installShellFiles
|
||||
pkg-config
|
||||
protobuf
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
enableOpencv ? stdenv.hostPlatform.isLinux,
|
||||
opencv,
|
||||
enableWayland ? stdenv.hostPlatform.isLinux,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
wayland-scanner,
|
||||
@@ -80,7 +80,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
opencv
|
||||
]
|
||||
++ lib.optionals enableWayland [
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
wayland
|
||||
wayland-protocols
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
kdePackages,
|
||||
glfw3,
|
||||
libx11,
|
||||
libxau,
|
||||
@@ -30,12 +30,13 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.extra-cmake-modules
|
||||
glfw3
|
||||
libx11
|
||||
libxau
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user