treewide: remove qt5.mkDerivation usage (trivial cases) (#348577)
This commit is contained in:
commit
162ac4324d
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, cups
|
||||
, libssh
|
||||
@ -15,7 +16,7 @@
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
qt5.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "x2goclient";
|
||||
version = "4.1.2.2";
|
||||
|
||||
|
@ -25,7 +25,7 @@ let
|
||||
update-source-version synology-drive-client "$version"
|
||||
'';
|
||||
|
||||
linux = qt5.mkDerivation {
|
||||
linux = stdenv.mkDerivation {
|
||||
inherit pname version meta passthru;
|
||||
|
||||
src = fetchurl {
|
||||
@ -33,7 +33,7 @@ let
|
||||
sha256 = "sha256-VeS5bPcMM4JDCSH5GXkl4OgQjrPKaNDh5PfX28/zqaU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook dpkg ];
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook autoPatchelfHook dpkg ];
|
||||
|
||||
buildInputs = [ glibc gtk3 pango libxcb ];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ cmake, extra-cmake-modules, fetchFromGitLab, lib, libsForQt5 }:
|
||||
{ stdenv, cmake, extra-cmake-modules, fetchFromGitLab, lib, libsForQt5 }:
|
||||
|
||||
libsForQt5.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kgeotag";
|
||||
version = "1.6.0";
|
||||
|
||||
@ -12,7 +12,7 @@ libsForQt5.mkDerivation rec {
|
||||
hash = "sha256-lUfU6SHRCglC81BTcVFFOp/psWXsUFOTEPUrZutrJaY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules libsForQt5.wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [ libsForQt5.libkexiv2 libsForQt5.marble ];
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, libsForQt5, makeWrapper, neovim, neovim-qt-unwrapped }:
|
||||
{ stdenvNoCC, makeWrapper, neovim, neovim-qt-unwrapped }:
|
||||
|
||||
let
|
||||
unwrapped = neovim-qt-unwrapped;
|
||||
in
|
||||
libsForQt5.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "neovim-qt";
|
||||
version = unwrapped.version;
|
||||
buildCommand = if stdenv.hostPlatform.isDarwin then ''
|
||||
buildCommand = if stdenvNoCC.hostPlatform.isDarwin then ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r ${unwrapped}/bin/nvim-qt.app $out/Applications
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
fetchFromGitLab,
|
||||
libGLU,
|
||||
}:
|
||||
qt5.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oscar";
|
||||
version = "1.5.1";
|
||||
|
||||
@ -22,7 +22,10 @@ qt5.mkDerivation rec {
|
||||
qt5.qtserialport
|
||||
libGLU
|
||||
];
|
||||
nativeBuildInputs = [ qt5.qmake ];
|
||||
nativeBuildInputs = [
|
||||
qt5.wrapQtAppsHook
|
||||
qt5.qmake
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace oscar/oscar.pro --replace "/bin/bash" "${stdenv.shell}"
|
||||
'';
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
libsForQt5,
|
||||
coreutils,
|
||||
xdg-utils,
|
||||
@ -9,7 +10,7 @@
|
||||
perlPackages,
|
||||
}:
|
||||
|
||||
libsForQt5.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qdirstat";
|
||||
version = "1.9";
|
||||
|
||||
@ -20,7 +21,12 @@ libsForQt5.mkDerivation rec {
|
||||
hash = "sha256-pwdmltHDNwUMx1FNOoiXl5Pna0zlKqahmicBCN6UVSU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ] ++ (with libsForQt5; [ qmake ]);
|
||||
nativeBuildInputs =
|
||||
[ makeWrapper ]
|
||||
++ (with libsForQt5; [
|
||||
qmake
|
||||
wrapQtAppsHook
|
||||
]);
|
||||
|
||||
buildInputs = [ perlPackages.perl ];
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
qt5,
|
||||
autoPatchelfHook,
|
||||
fetchzip,
|
||||
portaudio,
|
||||
}:
|
||||
|
||||
qt5.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "soundwire";
|
||||
version = "3.0";
|
||||
|
||||
@ -17,6 +18,7 @@ qt5.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, qt5
|
||||
, qtbase
|
||||
, qttools
|
||||
@ -7,7 +8,7 @@
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
qt5.mkDerivation {
|
||||
stdenv.mkDerivation {
|
||||
pname = "r3ctl";
|
||||
version = "a82cb5b3123224e706835407f21acea9dc7ab0f0";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user