minitube: migrate to pkgs/by-name (#525393)

This commit is contained in:
Weijia Wang
2026-05-29 07:16:47 +00:00
committed by GitHub
2 changed files with 7 additions and 13 deletions
@@ -2,11 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
qmake,
qttools,
wrapQtAppsHook,
qtbase,
qtdeclarative,
qt6,
mpv,
# "Free" key generated by pasqui23
@@ -28,18 +24,18 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/214765
postPatch = ''
substituteInPlace locale/locale.pri \
--replace-fail '$$[QT_INSTALL_BINS]/lrelease' '${lib.getDev qttools}/bin/lrelease'
--replace-fail '$$[QT_INSTALL_BINS]/lrelease' '${lib.getDev qt6.qttools}/bin/lrelease'
'';
nativeBuildInputs = [
qmake
qttools
wrapQtAppsHook
qt6.qmake
qt6.qttools
qt6.wrapQtAppsHook
];
buildInputs = [
qtbase
qtdeclarative
qt6.qtbase
qt6.qtdeclarative
mpv
];
-2
View File
@@ -9552,8 +9552,6 @@ with pkgs;
mercurialFull = mercurial.override { fullBuild = true; };
minitube = kdePackages.callPackage ../applications/video/minitube { };
mldonkey = callPackage ../applications/networking/p2p/mldonkey {
ocamlPackages = ocaml-ng.ocamlPackages_4_14;
};