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:
parent
ee92f5fdc7
commit
8bbaddb56d
|
@ -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
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue