kde5.yakuake: use kdeWrapper
This commit is contained in:
parent
9e2937ca65
commit
2e538a0f55
@ -1,8 +1,9 @@
|
|||||||
{ stdenv
|
{ kdeDerivation
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, cmake
|
, kdoctools
|
||||||
, extra-cmake-modules
|
, kdeWrapper
|
||||||
|
, ecm
|
||||||
, karchive
|
, karchive
|
||||||
, kcrash
|
, kcrash
|
||||||
, kdbusaddons
|
, kdbusaddons
|
||||||
@ -14,15 +15,13 @@
|
|||||||
, konsole
|
, konsole
|
||||||
, kparts
|
, kparts
|
||||||
, kwindowsystem
|
, kwindowsystem
|
||||||
, makeQtWrapper
|
|
||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
unwrapped = let
|
||||||
pname = "yakuake";
|
pname = "yakuake";
|
||||||
version = "3.0.2";
|
version = "3.0.2";
|
||||||
in
|
in kdeDerivation rec {
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -31,8 +30,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake
|
|
||||||
extra-cmake-modules
|
|
||||||
karchive
|
karchive
|
||||||
kcrash
|
kcrash
|
||||||
kdbusaddons
|
kdbusaddons
|
||||||
@ -46,21 +43,21 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
ecm kdoctools
|
||||||
makeQtWrapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [
|
|
||||||
konsole
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
wrapQtProgram "$out/bin/yakuake"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://yakuake.kde.org;
|
homepage = https://yakuake.kde.org;
|
||||||
description = "Quad-style terminal emulator for KDE";
|
description = "Quad-style terminal emulator for KDE";
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
in
|
||||||
|
kdeWrapper unwrapped
|
||||||
|
{
|
||||||
|
targets = [ "bin/yakuake" ];
|
||||||
|
paths = [ konsole.unwrapped ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user