Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Package for the Polari IRC app

This commit includes a patch to telepathy's derivation, written by
Lethalman. This patch makes public the Telepathy's dependency to
dbus_glib. This patch will become problematic with the next pkgconfig
upgrade but this upgrade should make the patch irrelevant. See these 2
links for more information:
- https://bugs.freedesktop.org/show_bug.cgi?id=15199
- https://bugzilla.redhat.com/show_bug.cgi?id=436773

Modified by Luca Bruno:
- Moved telepathy_idle to propagatedUserEnvPkgs
- Added myself to maintainers
- Enable parallel building

authored by Damien Cassou and committed by Luca Bruno bc789064 40bbc180

+55
+20
pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix
··· 1 + { stdenv, fetchurl, glib, pkgconfig, dbus_glib, telepathy_glib, libxslt }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "telepathy-idle"; 5 + version = "0.2.0"; 6 + name = "${pname}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz"; 10 + sha256 = "1argdzbif1vdmwp5vqbgkadq9ancjmgdm2ncp0qfckni715ss4rh"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig glib telepathy_glib dbus_glib libxslt ]; 14 + 15 + meta = { 16 + description = "IRC connection manager for the Telepathy framework"; 17 + license = stdenv.lib.licenses.lgpl21; 18 + platforms = stdenv.lib.platforms.gnu; 19 + }; 20 + }
+27
pkgs/desktops/gnome-3/3.12/apps/polari/default.nix
··· 1 + {stdenv, fetchurl, makeWrapper, intltool, pkgconfig, gobjectIntrospection, glib, gtk3, telepathy_glib, gnome3, telepathy_idle }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "3.12.2"; 5 + name = "polari-${version}"; 6 + src = fetchurl { 7 + url = "https://download.gnome.org/sources/polari/3.12/polari-${version}.tar.xz"; 8 + sha256 = "8b10f369fac9e5e48a7bed51320754262d00c1bb14899a321b02843e20c0a995"; 9 + }; 10 + buildInputs = [ makeWrapper intltool pkgconfig gobjectIntrospection glib gtk3 telepathy_glib gnome3.gjs ]; 11 + propagatedUserEnvPkgs = [ telepathy_idle ]; 12 + 13 + preFixup = '' 14 + wrapProgram "$out/bin/polari" \ 15 + --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 16 + --prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" 17 + ''; 18 + 19 + enableParallelBuilding = true; 20 + 21 + meta = with stdenv.lib; { 22 + description = "Internet Relay Chat (IRC) client designed for GNOME 3"; 23 + homepage = https://wiki.gnome.org/Apps/Polari; 24 + platforms = platforms.linux; 25 + maintainers = [ maintainers.lethalman ]; 26 + }; 27 + }
+2
pkgs/desktops/gnome-3/3.12/default.nix
··· 234 234 235 235 seahorse = callPackage ./apps/seahorse { }; 236 236 237 + polari = callPackage ./apps/polari { }; 238 + 237 239 pomodoro = callPackage ./apps/pomodoro { }; 238 240 239 241 #### Dev http://ftp.gnome.org/pub/GNOME/devtools/
+4
pkgs/development/libraries/telepathy/glib/default.nix
··· 15 15 16 16 buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala; 17 17 18 + preConfigure = '' 19 + substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires 20 + ''; 21 + 18 22 meta = { 19 23 homepage = http://telepathy.freedesktop.org; 20 24 };
+2
pkgs/top-level/all-packages.nix
··· 10881 10881 10882 10882 telepathy_salut = callPackage ../applications/networking/instant-messengers/telepathy/salut {}; 10883 10883 10884 + telepathy_idle = callPackage ../applications/networking/instant-messengers/telepathy/idle {}; 10885 + 10884 10886 terminator = callPackage ../applications/misc/terminator { 10885 10887 vte = gnome.vte.override { pythonSupport = true; }; 10886 10888 inherit (pythonPackages) notify;