2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
30 lines
803 B
Nix
30 lines
803 B
Nix
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
|
, kdelibs, konsole }:
|
|
|
|
let
|
|
pname = "yakuake";
|
|
version = "2.9.8";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.bz2";
|
|
sha256 = "0a9x3nmala8nl4xl3h7rcd76f5j7b7r74jc5cfbayc6jgkjdynd3";
|
|
};
|
|
|
|
buildInputs = [ kdelibs ];
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace app/terminal.cpp --replace \"konsolepart\" "\"${konsole}/lib/kde4/libkonsolepart.so\""
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://yakuake.kde.org;
|
|
description = "Quad-style terminal emulator for KDE";
|
|
inherit (kdelibs.meta) platforms;
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
};
|
|
}
|