2018-07-21 00:44:44 +00:00
|
|
|
{ fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, json-glib }:
|
2015-09-08 19:14:18 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-29 20:19:07 +00:00
|
|
|
name = "bitlbee-facebook-${version}";
|
2019-01-29 18:25:51 +00:00
|
|
|
version = "1.2.0";
|
2015-09-08 19:14:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-29 20:19:07 +00:00
|
|
|
rev = "v${version}";
|
2017-09-14 13:15:39 +00:00
|
|
|
owner = "bitlbee";
|
2015-09-08 19:14:18 +00:00
|
|
|
repo = "bitlbee-facebook";
|
2019-01-29 18:25:51 +00:00
|
|
|
sha256 = "11068zhb1v55b1x0nhjc4f3p0glccxpcyk5c1630hfdzkj7vyqhn";
|
2015-09-08 19:14:18 +00:00
|
|
|
};
|
|
|
|
|
2017-03-29 20:19:07 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ bitlbee glib json-glib ];
|
2015-09-08 19:14:18 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Facebook protocol plugin for bitlbee";
|
|
|
|
|
2017-09-14 13:15:39 +00:00
|
|
|
homepage = https://github.com/bitlbee/bitlbee-facebook;
|
2015-09-08 19:14:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-09-08 19:14:18 +00:00
|
|
|
};
|
|
|
|
}
|