1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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 { };