2015-09-08 21:14:18 +02:00
|
|
|
{ fetchurl, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, json_glib }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-29 22:19:07 +02:00
|
|
|
name = "bitlbee-facebook-${version}";
|
2017-09-14 15:15:39 +02:00
|
|
|
version = "1.1.2";
|
2015-09-08 21:14:18 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-29 22:19:07 +02:00
|
|
|
rev = "v${version}";
|
2017-09-14 15:15:39 +02:00
|
|
|
owner = "bitlbee";
|
2015-09-08 21:14:18 +02:00
|
|
|
repo = "bitlbee-facebook";
|
2017-09-14 15:15:39 +02:00
|
|
|
sha256 = "0kz2sc10iq01vn0hvf06bcdc1rsxz1j77z3mw55slf3j08xr07in";
|
2015-09-08 21:14:18 +02:00
|
|
|
};
|
|
|
|
|
2017-03-29 22:19:07 +02:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ bitlbee glib json_glib ];
|
2015-09-08 21:14:18 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Facebook protocol plugin for bitlbee";
|
|
|
|
|
2017-09-14 15:15:39 +02:00
|
|
|
homepage = https://github.com/bitlbee/bitlbee-facebook;
|
2015-09-08 21:14:18 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-09-08 21:14:18 +02:00
|
|
|
};
|
|
|
|
}
|