3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix
2021-01-16 23:49:59 -08:00

32 lines
778 B
Nix

{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, glib, json-glib }:
with lib;
stdenv.mkDerivation rec {
pname = "bitlbee-facebook";
version = "1.2.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "bitlbee";
repo = "bitlbee-facebook";
sha256 = "1yjhjhk3jzjip13lq009vlg84lm2lzwhac5jy0aq3vkcz6rp94rc";
};
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
buildInputs = [ bitlbee json-glib ];
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
./autogen.sh
'';
meta = {
description = "The Facebook protocol plugin for bitlbee";
homepage = "https://github.com/bitlbee/bitlbee-facebook";
license = licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}