From 3d2853cc3fbc18c0174b4a8a37ae02cbcec22b1e Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 28 Jan 2008 19:49:44 +0000 Subject: [PATCH] Added some telepathy+tapioca stuff. svn path=/nixpkgs/trunk/; revision=10360 --- .../libraries/tapioca-qt/default.nix | 16 ++++++++++++++++ .../libraries/telepathy-gabble/default.nix | 17 +++++++++++++++++ .../libraries/telepathy-glib/default.nix | 17 +++++++++++++++++ .../libraries/telepathy-qt/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 19 +++++++++++++++++++ 5 files changed, 85 insertions(+) create mode 100644 pkgs/development/libraries/tapioca-qt/default.nix create mode 100644 pkgs/development/libraries/telepathy-gabble/default.nix create mode 100644 pkgs/development/libraries/telepathy-glib/default.nix create mode 100644 pkgs/development/libraries/telepathy-qt/default.nix diff --git a/pkgs/development/libraries/tapioca-qt/default.nix b/pkgs/development/libraries/tapioca-qt/default.nix new file mode 100644 index 000000000000..956d4c098735 --- /dev/null +++ b/pkgs/development/libraries/tapioca-qt/default.nix @@ -0,0 +1,16 @@ +args: with args; +let rev = "2031"; in +stdenv.mkDerivation { + name = "tapioca-qt-r${rev}"; + src = fetchsvn { + url = "https://tapioca-voip.svn.sourceforge.net/svnroot/tapioca-voip/trunk/tapioca-qt"; + inherit rev; + sha256 = "0r2qzlm56yizdi64xga6v2sdhdcgl3cvlsd7g9ynh95813nky88z"; + }; + + buildInputs = [cmake]; + propagatedBuildInputs = [telepathy_qt stdenv.gcc.libc]; + meta = { + description = "Qt Tapioca binding library"; + }; +} diff --git a/pkgs/development/libraries/telepathy-gabble/default.nix b/pkgs/development/libraries/telepathy-gabble/default.nix new file mode 100644 index 000000000000..44affecefd88 --- /dev/null +++ b/pkgs/development/libraries/telepathy-gabble/default.nix @@ -0,0 +1,17 @@ +args: with args; +stdenv.mkDerivation rec { + name = "telepathy-gabble-0.7.2"; + + src = fetchurl { + url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz"; + sha256 = "0r1j475a5s2a4f10hybmavf4kf6nrnjnv091dpic5nl2asdilb7i"; + }; + + propagatedBuildInputs = [telepathy_glib loudmouth]; + buildInputs = [pkgconfig libxslt]; + configureFlags = "--enable-shared --disable-static"; + + meta = { + homepage = http://telepathy.freedesktop.org; + }; +} diff --git a/pkgs/development/libraries/telepathy-glib/default.nix b/pkgs/development/libraries/telepathy-glib/default.nix new file mode 100644 index 000000000000..fd4f59bdc8a2 --- /dev/null +++ b/pkgs/development/libraries/telepathy-glib/default.nix @@ -0,0 +1,17 @@ +args: with args; +stdenv.mkDerivation rec { + name = "telepathy-glib-0.7.0"; + + src = fetchurl { + url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz"; + sha256 = "0hf1jrgisr7skrji7djh66q0ic351vlsm65xqy982p5d0axzxkz5"; + }; + + propagatedBuildInputs = [dbus_glib glib python]; + buildInputs = [pkgconfig libxslt]; + configureFlags = "--enable-shared --disable-static"; + + meta = { + homepage = http://telepathy.freedesktop.org; + }; +} diff --git a/pkgs/development/libraries/telepathy-qt/default.nix b/pkgs/development/libraries/telepathy-qt/default.nix new file mode 100644 index 000000000000..9c0ea152f4ed --- /dev/null +++ b/pkgs/development/libraries/telepathy-qt/default.nix @@ -0,0 +1,16 @@ +args: with args; +let rev = "2031"; in +stdenv.mkDerivation { + name = "telepathy-qt-r${rev}"; + src = fetchsvn { + url = "https://tapioca-voip.svn.sourceforge.net/svnroot/tapioca-voip/trunk/telepathy-qt"; + inherit rev; + sha256 = "0d7psgc8nr5bryrjgfg92622hbilp0qwx0pya3836bz2l6x3msnb"; + }; + + buildInputs = [cmake]; + propagatedBuildInputs = [qt]; + meta = { + description = "Qt bindings for telepathy"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a329cf52b7df..b19dc9ae4ecd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2588,6 +2588,25 @@ rec { inherit fetchurl stdenv zlib; }; + tapioca_qt = import ../development/libraries/tapioca-qt { + inherit fetchsvn stdenv cmake telepathy_qt; + qt = qt4; + }; + + telepathy_gabble = import ../development/libraries/telepathy-gabble { + inherit fetchurl stdenv pkgconfig libxslt telepathy_glib loudmouth; + }; + + telepathy_glib = import ../development/libraries/telepathy-glib { + inherit fetchurl stdenv dbus_glib pkgconfig libxslt python; + inherit (gtkLibs) glib; + }; + + telepathy_qt = import ../development/libraries/telepathy-qt { + inherit fetchsvn stdenv cmake; + qt = qt4; + }; + tk = import ../development/libraries/tk { inherit fetchurl stdenv tcl x11; };