kde5.yakuake: use kdeWrapper

This commit is contained in:
Frederik Rietdijk 2016-08-02 08:39:55 +02:00
parent 9e2937ca65
commit 2e538a0f55

View File

@ -1,8 +1,9 @@
{ stdenv { kdeDerivation
, lib , lib
, fetchurl , fetchurl
, cmake , kdoctools
, extra-cmake-modules , kdeWrapper
, ecm
, karchive , karchive
, kcrash , kcrash
, kdbusaddons , kdbusaddons
@ -14,53 +15,49 @@
, konsole , konsole
, kparts , kparts
, kwindowsystem , kwindowsystem
, makeQtWrapper
}: }:
let let
pname = "yakuake"; unwrapped = let
version = "3.0.2"; pname = "yakuake";
version = "3.0.2";
in kdeDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0vcdji1k8d3pz7k6lkw8ighkj94zff2l2cf9v1avf83f4hjyfhg5";
};
buildInputs = [
karchive
kcrash
kdbusaddons
ki18n
kiconthemes
knewstuff
knotifications
knotifyconfig
kparts
kwindowsystem
];
nativeBuildInputs = [
ecm kdoctools
];
meta = {
homepage = https://yakuake.kde.org;
description = "Quad-style terminal emulator for KDE";
maintainers = with lib.maintainers; [ fridh ];
};
};
in in
stdenv.mkDerivation rec { kdeWrapper unwrapped
name = "${pname}-${version}"; {
targets = [ "bin/yakuake" ];
src = fetchurl { paths = [ konsole.unwrapped ];
url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0vcdji1k8d3pz7k6lkw8ighkj94zff2l2cf9v1avf83f4hjyfhg5";
};
buildInputs = [
cmake
extra-cmake-modules
karchive
kcrash
kdbusaddons
ki18n
kiconthemes
knewstuff
knotifications
knotifyconfig
kparts
kwindowsystem
];
nativeBuildInputs = [
extra-cmake-modules
makeQtWrapper
];
propagatedUserEnvPkgs = [
konsole
];
postInstall = ''
wrapQtProgram "$out/bin/yakuake"
'';
meta = {
homepage = https://yakuake.kde.org;
description = "Quad-style terminal emulator for KDE";
maintainers = with lib.maintainers; [ fridh ];
};
} }