2021-01-17 02:09:27 +00:00
|
|
|
{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, glib, json-glib }:
|
2015-09-08 19:14:18 +00:00
|
|
|
|
2021-01-15 05:42:41 +00:00
|
|
|
with lib;
|
2015-09-08 19:14:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "bitlbee-facebook";
|
2020-10-21 13:21:14 +00:00
|
|
|
version = "1.2.1";
|
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";
|
2020-10-21 13:21:14 +00:00
|
|
|
sha256 = "1yjhjhk3jzjip13lq009vlg84lm2lzwhac5jy0aq3vkcz6rp94rc";
|
2015-09-08 19:14:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
2017-03-29 20:19:07 +00:00
|
|
|
|
2020-07-15 16:08:51 +00:00
|
|
|
buildInputs = [ bitlbee 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";
|
|
|
|
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/bitlbee/bitlbee-facebook";
|
2015-09-08 19:14:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-01-15 05:42:41 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2015-09-08 19:14:18 +00:00
|
|
|
};
|
|
|
|
}
|