nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
814 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }:
2015-09-08 19:14:18 +00:00
stdenv.mkDerivation rec {
pname = "bitlbee-facebook";
version = "1.2.2";
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";
sha256 = "1qiiiq17ybylbhwgbwsvmshb517589r8yy5rsh1rfaylmlcxyy7z";
2015-09-08 19:14:18 +00:00
};
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
2017-03-29 20:19:07 +00:00
buildInputs = [ bitlbee json-glib ];
2015-09-08 19:14:18 +00:00
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
./autogen.sh
'';
meta = with lib; {
2015-09-08 19:14:18 +00:00
description = "The Facebook protocol plugin for bitlbee";
homepage = "https://github.com/bitlbee/bitlbee-facebook";
2015-09-08 19:14:18 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ toonn ];
platforms = platforms.linux;
2015-09-08 19:14:18 +00:00
};
}