Skip to content

Commit

Permalink
crow-translate: migrate to by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Oct 26, 2024
1 parent ee92f5f commit a9fee87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
, fetchFromGitLab
, cmake
, extra-cmake-modules
, qttools
, kwayland
, leptonica
, qt5
, tesseract4
, qtmultimedia
, qtx11extras
, wrapQtAppsHook
, gst_all_1
, testers
}:
Expand All @@ -29,22 +25,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
leptonica
tesseract4
qtmultimedia
qtx11extras
qt5.kwayland
qt5.qtmultimedia
qt5.qtx11extras
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit a9fee87

Please sign in to comment.