2021-03-11 14:52:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, pidgin, telepathy-glib, python2, glib, dbus-glib, pkg-config, libxslt }:
|
2012-06-13 08:09:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "telepathy-haze";
|
2021-07-12 11:51:53 +01:00
|
|
|
version = "0.8.0";
|
2012-06-13 08:09:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-12 11:51:53 +01:00
|
|
|
url = "https://telepathy.freedesktop.org/releases/telepathy-haze/telepathy-haze${version}.tar.gz";
|
2013-12-21 23:26:16 +00:00
|
|
|
sha256 = "1jgrp32p6rllj089ynbsk3n9xrvsvzmwzhf0ql05kkgj0nf08xiy";
|
2012-06-13 08:09:19 +01:00
|
|
|
};
|
|
|
|
|
2021-03-11 14:52:09 +00:00
|
|
|
buildInputs = [ glib telepathy-glib dbus-glib pidgin python2 ];
|
2012-06-13 08:09:19 +01:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libxslt ];
|
2012-06-13 08:09:19 +01:00
|
|
|
|
2016-11-20 19:59:48 +00:00
|
|
|
patches = [
|
|
|
|
# Patch from Gentoo that helps telepathy-haze build with more
|
|
|
|
# recent versions of pidgin.
|
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://raw.githubusercontent.com/gentoo/gentoo/master/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch";
|
2016-11-20 19:59:48 +00:00
|
|
|
sha256 = "0fa1p4n1559qd096w7ya4kvfnc1c98ykarkxzlpkwvzbczwzng3c";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2012-06-13 08:09:19 +01:00
|
|
|
meta = {
|
|
|
|
description = "A Telepathy connection manager based on libpurple";
|
2021-01-15 05:42:41 +00:00
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux; # Random choice
|
2012-06-13 08:09:19 +01:00
|
|
|
};
|
|
|
|
}
|