git.iko.soy/typeable/nixpkgs
on master help sign in
bitlbee-facebook: Add agent version bump patch (#112760)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commitcc942dcbc795618954500ea8943db7d0a16adbc7 authortoonn <toonn@toonn.io> dateSun 14 Feb 2021, 09:20 (6 years ago) parentdbf3a9f
1 file changed+15−5
pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix+15−5
pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix+15−5
@@ -1,6 +1,5 @@
1−{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, glib, json-glib }:
1+{ lib, fetchFromGitHub, fetchpatch, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }:
22
3−with lib;
43stdenv.mkDerivation rec {
54 pname = "bitlbee-facebook";
65 version = "1.2.1";
@@ -12,6 +11,17 @@ stdenv.mkDerivation rec {
1211 sha256 = "1yjhjhk3jzjip13lq009vlg84lm2lzwhac5jy0aq3vkcz6rp94rc";
1312 };
1413
14+ # TODO: This patch should be included with the next release after v1.2.1
15+ # these lines should be removed when this happens.
16+ patches = [
17+ (fetchpatch {
18+ name = "FB_ORCA_AGENT_version_bump.patch";
19+ url = "https://github.com/bitlbee/bitlbee-facebook/commit/49ea312d98b0578b9b2c1ff759e2cfa820a41f4d.patch";
20+ sha256 = "0nzyyg8pw4f2jcickcpxq7r2la5wgl7q6iz94lhzybrkhss5753d";
21+ }
22+ )
23+ ];
24+
1525 nativeBuildInputs = [ autoconf automake libtool pkg-config ];
1626
1727 buildInputs = [ bitlbee json-glib ];
@@ -21,11 +31,11 @@ stdenv.mkDerivation rec {
2131 ./autogen.sh
2232 '';
2333
24− meta = {
34+ meta = with lib; {
2535 description = "The Facebook protocol plugin for bitlbee";
26−
2736 homepage = "https://github.com/bitlbee/bitlbee-facebook";
2837 license = licenses.gpl2Plus;
29− platforms = lib.platforms.linux;
38+ maintainers = with maintainers; [ toonn ];
39+ platforms = platforms.linux;
3040 };
3141}