nixpkgs-suyu/pkgs/applications/networking/irc/konversation/default.nix

88 lines
1.5 KiB
Nix
Raw Normal View History

{ mkDerivation
, lib
, fetchurl
, fetchpatch
, extra-cmake-modules
2017-05-16 17:56:41 +02:00
, kdoctools
, kbookmarks
, karchive
, kconfig
, kconfigwidgets
, kcoreaddons
, kcrash
, kdbusaddons
, kemoticons
, kglobalaccel
, ki18n
, kiconthemes
, kidletime
, kitemviews
, knotifications
, knotifyconfig
, kwindowsystem
, kio
, kparts
, kwallet
, solid
, sonnet
, phonon
}:
let
2017-05-16 17:56:41 +02:00
pname = "konversation";
2018-08-26 12:18:28 +02:00
version = "1.7.5";
2017-05-16 17:56:41 +02:00
in mkDerivation rec {
name = "${pname}-${version}";
2017-05-16 17:56:41 +02:00
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
2018-08-26 12:18:28 +02:00
sha256 = "0h098yhlp36ls6pdvs2r93ig8dv4fys62m0h6wxccprb0qrpbgv0";
2017-05-16 17:56:41 +02:00
};
patches = [
# Delete this patch for konversation > 1.7.5
(fetchpatch {
url = "https://cgit.kde.org/konversation.git/patch/?id=4d0036617becc26a76fd021138c98aceec4c7b53";
sha256 = "17hdj6zyln3n93b71by26mrwbgyh4k052ck5iw1drysx5dyd5l6y";
})
];
2017-05-16 17:56:41 +02:00
buildInputs = [
kbookmarks
karchive
kconfig
kconfigwidgets
kcoreaddons
kcrash
2017-05-16 17:56:41 +02:00
kdbusaddons
kdoctools
kemoticons
kglobalaccel
ki18n
kiconthemes
kidletime
kitemviews
knotifications
knotifyconfig
kwindowsystem
2017-05-16 17:56:41 +02:00
kio
kparts
kwallet
solid
sonnet
phonon
];
2017-05-16 17:56:41 +02:00
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
2017-05-16 17:56:41 +02:00
meta = {
description = "Integrated IRC client for KDE";
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh ];
homepage = "https://konversation.kde.org";
};
}