crow-translate: 3.0.0 → 3.1.0 (#351390)

This commit is contained in:
Artturin
2024-10-27 05:31:35 +02:00
committed by GitHub
2 changed files with 10 additions and 15 deletions
@@ -3,48 +3,45 @@
, fetchFromGitLab
, cmake
, extra-cmake-modules
, qttools
, kwayland
, leptonica
, libsForQt5
, qt5
, tesseract4
, qtmultimedia
, qtx11extras
, wrapQtAppsHook
, gst_all_1
, testers
}:
stdenv.mkDerivation (finalAttrs: {
pname = "crow-translate";
version = "3.0.0";
version = "3.1.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "office";
repo = "crow-translate";
rev = "v${finalAttrs.version}";
hash = "sha256-hdrhxbv44DlxoF1JU1d2auP/vR8a3IJI+hN7PhdPMaY=";
hash = "sha256-zL+Ucw6rzIoEaBHi/uqKQB0cnR6aAcF8MPOG3hwK3iA=";
fetchSubmodules = true;
};
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
-2
View File
@@ -535,8 +535,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 { };