Commit a21bca63 authored by Robert Schütz's avatar Robert Schütz Committed by Robert Schütz
Browse files

telepathy-haze: 0.8.0 -> 0.8.1

(cherry picked from commit b5f9c6e5)
parent fd9075bc
Loading
Loading
Loading
Loading
+6 −15
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, fetchpatch, pidgin, telepathy-glib, python2, glib, dbus-glib, pkg-config, libxslt }:
{ lib, stdenv, fetchurl, fetchpatch, pidgin, telepathy-glib, python3, glib, dbus-glib, pkg-config, libxslt }:

stdenv.mkDerivation rec {
  pname = "telepathy-haze";
  version = "0.8.0";
  version = "0.8.1";

  src = fetchurl {
    url = "https://telepathy.freedesktop.org/releases/telepathy-haze/telepathy-haze${version}.tar.gz";
    sha256 = "1jgrp32p6rllj089ynbsk3n9xrvsvzmwzhf0ql05kkgj0nf08xiy";
    url = "https://telepathy.freedesktop.org/releases/telepathy-haze/telepathy-haze-${version}.tar.gz";
    hash = "sha256-cEvvpC7sIXPspLrAH/0AQBRmXyutRtyJSOVCM2TN4wo=";
  };

  buildInputs = [ glib telepathy-glib dbus-glib pidgin python2 ];
  buildInputs = [ glib telepathy-glib dbus-glib pidgin ];

  nativeBuildInputs = [ pkg-config libxslt ];

  patches = [
    # Patch from Gentoo that helps telepathy-haze build with more
    # recent versions of pidgin.
    (fetchpatch {
      url = "https://raw.githubusercontent.com/gentoo/gentoo/master/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch";
      sha256 = "0fa1p4n1559qd096w7ya4kvfnc1c98ykarkxzlpkwvzbczwzng3c";
    })
  ];
  nativeBuildInputs = [ pkg-config libxslt python3 ];

  meta = {
    description = "A Telepathy connection manager based on libpurple";