crow-translate: migrate to by-name

This commit is contained in:
Nikolay Korotkiy 2024-10-26 13:31:29 +04:00
parent ee92f5fdc7
commit 8bbaddb56d
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 8 additions and 13 deletions

View File

@ -3,13 +3,10 @@
, fetchFromGitLab
, cmake
, extra-cmake-modules
, qttools
, kwayland
, leptonica
, libsForQt5
, qt5
, tesseract4
, qtmultimedia
, qtx11extras
, wrapQtAppsHook
, gst_all_1
, testers
}:
@ -29,22 +26,22 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace data/org.kde.CrowTranslate.desktop.in \
--subst-var-by QT_BIN_DIR ${lib.getBin qttools}/bin
--subst-var-by QT_BIN_DIR ${lib.getBin qt5.qttools}/bin
'';
nativeBuildInputs = [
cmake
extra-cmake-modules
qttools
wrapQtAppsHook
qt5.qttools
qt5.wrapQtAppsHook
];
buildInputs = [
kwayland
libsForQt5.kwayland
leptonica
tesseract4
qtmultimedia
qtx11extras
qt5.qtmultimedia
qt5.qtx11extras
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base

View File

@ -537,8 +537,6 @@ with pkgs;
crackql = callPackage ../tools/security/crackql { };
crow-translate = libsForQt5.callPackage ../applications/misc/crow-translate { };
dae = callPackage ../tools/networking/dae { };
darling = callPackage ../applications/emulators/darling { };