From 4c9349a2c1cf5d4ca247fd23c2bbda84f4b91c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chadda=C3=AF=20Fouch=C3=A9?= Date: Tue, 29 Oct 2013 23:18:53 +0100 Subject: [PATCH 1/3] Adding KVIrc : a IRC Client for Qt and KDE. in kde4.kvirc --- .../networking/irc/kvirc/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/networking/irc/kvirc/default.nix diff --git a/pkgs/applications/networking/irc/kvirc/default.nix b/pkgs/applications/networking/irc/kvirc/default.nix new file mode 100644 index 000000000000..3494168497f3 --- /dev/null +++ b/pkgs/applications/networking/irc/kvirc/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, cmake, qt4, perl, gettext, kdelibs, openssl, zlib}: + +let + pn = "kvirc"; + v = "4.2.0"; +in + +stdenv.mkDerivation { + name = "${pn}-${v}"; + + src = fetchurl { + url = "ftp://ftp.kvirc.de/pub/${pn}/${v}/source/${pn}-${v}.tar.bz2"; + sha256 = "9a547d52d804e39c9635c8dc58bccaf4d34341ef16a9a652a5eb5568d4d762cb"; + }; + + buildInputs = [ cmake qt4 perl gettext kdelibs openssl zlib ]; + + meta = with stdenv.lib; { + description = "Graphic IRC client with Qt"; + license = "GPL"; + homepage = http://www.kvirc.net/; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9317e48658cc..d29b77e3866f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9557,6 +9557,8 @@ let konversation = callPackage ../applications/networking/irc/konversation { }; + kvirc = callPackage ../applications/networking/irc/kvirc { }; + krename = callPackage ../applications/misc/krename { }; krusader = callPackage ../applications/misc/krusader { }; From 1d9632cac851fe20ce70fa14bfbc232800753a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chadda=C3=AF=20Fouch=C3=A9?= Date: Wed, 30 Oct 2013 10:53:34 +0100 Subject: [PATCH 2/3] Adjust kvirc/default.nix to better use stdenv.lib --- pkgs/applications/networking/irc/kvirc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/irc/kvirc/default.nix b/pkgs/applications/networking/irc/kvirc/default.nix index 3494168497f3..0cf04a9431a3 100644 --- a/pkgs/applications/networking/irc/kvirc/default.nix +++ b/pkgs/applications/networking/irc/kvirc/default.nix @@ -17,8 +17,8 @@ stdenv.mkDerivation { meta = with stdenv.lib; { description = "Graphic IRC client with Qt"; - license = "GPL"; + license = licences.gpl3; homepage = http://www.kvirc.net/; - platforms = with stdenv.lib.platforms; linux; + platforms = platforms.linux; }; } From 5fe82bafac6f6a674fb45da3ba56953cd03783d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chadda=C3=AF=20Fouch=C3=A9?= Date: Wed, 30 Oct 2013 10:55:40 +0100 Subject: [PATCH 3/3] Ooops licences replaced by licenses --- pkgs/applications/networking/irc/kvirc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/irc/kvirc/default.nix b/pkgs/applications/networking/irc/kvirc/default.nix index 0cf04a9431a3..f4b451e66e07 100644 --- a/pkgs/applications/networking/irc/kvirc/default.nix +++ b/pkgs/applications/networking/irc/kvirc/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation { meta = with stdenv.lib; { description = "Graphic IRC client with Qt"; - license = licences.gpl3; + license = licenses.gpl3; homepage = http://www.kvirc.net/; platforms = platforms.linux; };