mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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
This commit is contained in:
parent
40bbc1806a
commit
bc789064d8
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, fetchurl, glib, pkgconfig, dbus_glib, telepathy_glib, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "telepathy-idle";
|
||||
version = "0.2.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
||||
sha256 = "1argdzbif1vdmwp5vqbgkadq9ancjmgdm2ncp0qfckni715ss4rh";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib telepathy_glib dbus_glib libxslt ];
|
||||
|
||||
meta = {
|
||||
description = "IRC connection manager for the Telepathy framework";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
};
|
||||
}
|
27
pkgs/desktops/gnome-3/3.12/apps/polari/default.nix
Normal file
27
pkgs/desktops/gnome-3/3.12/apps/polari/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{stdenv, fetchurl, makeWrapper, intltool, pkgconfig, gobjectIntrospection, glib, gtk3, telepathy_glib, gnome3, telepathy_idle }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.12.2";
|
||||
name = "polari-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://download.gnome.org/sources/polari/3.12/polari-${version}.tar.xz";
|
||||
sha256 = "8b10f369fac9e5e48a7bed51320754262d00c1bb14899a321b02843e20c0a995";
|
||||
};
|
||||
buildInputs = [ makeWrapper intltool pkgconfig gobjectIntrospection glib gtk3 telepathy_glib gnome3.gjs ];
|
||||
propagatedUserEnvPkgs = [ telepathy_idle ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/polari" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Internet Relay Chat (IRC) client designed for GNOME 3";
|
||||
homepage = https://wiki.gnome.org/Apps/Polari;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.lethalman ];
|
||||
};
|
||||
}
|
|
@ -234,6 +234,8 @@ rec {
|
|||
|
||||
seahorse = callPackage ./apps/seahorse { };
|
||||
|
||||
polari = callPackage ./apps/polari { };
|
||||
|
||||
pomodoro = callPackage ./apps/pomodoro { };
|
||||
|
||||
#### Dev http://ftp.gnome.org/pub/GNOME/devtools/
|
||||
|
|
|
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://telepathy.freedesktop.org;
|
||||
};
|
||||
|
|
|
@ -10881,6 +10881,8 @@ let
|
|||
|
||||
telepathy_salut = callPackage ../applications/networking/instant-messengers/telepathy/salut {};
|
||||
|
||||
telepathy_idle = callPackage ../applications/networking/instant-messengers/telepathy/idle {};
|
||||
|
||||
terminator = callPackage ../applications/misc/terminator {
|
||||
vte = gnome.vte.override { pythonSupport = true; };
|
||||
inherit (pythonPackages) notify;
|
||||
|
|
Loading…
Reference in a new issue