2021-04-19 17:20:44 +01:00
|
|
|
{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }:
|
2015-09-08 20:14:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bitlbee-facebook";
|
2021-04-19 17:20:44 +01:00
|
|
|
version = "1.2.2";
|
2015-09-08 20:14:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-29 21:19:07 +01:00
|
|
|
rev = "v${version}";
|
2017-09-14 14:15:39 +01:00
|
|
|
owner = "bitlbee";
|
2015-09-08 20:14:18 +01:00
|
|
|
repo = "bitlbee-facebook";
|
2021-04-19 17:20:44 +01:00
|
|
|
sha256 = "1qiiiq17ybylbhwgbwsvmshb517589r8yy5rsh1rfaylmlcxyy7z";
|
2015-09-08 20:14:18 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
2017-03-29 21:19:07 +01:00
|
|
|
|
2020-07-15 17:08:51 +01:00
|
|
|
buildInputs = [ bitlbee json-glib ];
|
2015-09-08 20:14:18 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-02-14 08:20:22 +00:00
|
|
|
meta = with lib; {
|
2015-09-08 20:14:18 +01:00
|
|
|
description = "The Facebook protocol plugin for bitlbee";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bitlbee/bitlbee-facebook";
|
2015-09-08 20:14:18 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2021-02-14 08:20:22 +00:00
|
|
|
maintainers = with maintainers; [ toonn ];
|
|
|
|
platforms = platforms.linux;
|
2015-09-08 20:14:18 +01:00
|
|
|
};
|
|
|
|
}
|