nixpkgs/pkgs/applications/misc/yakuake/default.nix
Bastian Köcher ff4ca50d56 Removes .desktop file from targets
Exposing the .desktop file via the targets is the wrong way, because
the kdeWrapper wraps all the files in the targets.
2017-05-26 10:54:28 +02:00

63 lines
1.1 KiB
Nix

{ kdeDerivation
, lib
, fetchurl
, kdoctools
, kdeWrapper
, extra-cmake-modules
, karchive
, kcrash
, kdbusaddons
, ki18n
, kiconthemes
, knewstuff
, knotifications
, knotifyconfig
, konsole
, kparts
, kwindowsystem
}:
let
unwrapped = let
pname = "yakuake";
version = "3.0.3";
in kdeDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "ef51aa3325916d352fde17870cf706397e41105103e4c9289cc4032a1b8609a7";
};
buildInputs = [
karchive
kcrash
kdbusaddons
ki18n
kiconthemes
knewstuff
knotifications
knotifyconfig
kparts
kwindowsystem
];
nativeBuildInputs = [
extra-cmake-modules kdoctools
];
meta = {
homepage = https://yakuake.kde.org;
description = "Quad-style terminal emulator for KDE";
maintainers = with lib.maintainers; [ fridh ];
};
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/yakuake" ];
paths = [ konsole.unwrapped ];
}