blob: 3e09a6aa25b85ee109c77f164cee12ec403dfab5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "bitlbee-mastodon";
version = "1.4.5";
src = fetchgit {
url = "https://alexschroeder.ch/cgit/bitlbee-mastodon";
rev = "v${version}";
sha256 = "sha256-8vmq/YstuBYUxe00P4NrxD/eMYI++R9uvn1sCcMTr7I=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ bitlbee ];
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
export BITLBEE_DATADIR=$out/share/bitlbee
'';
meta = with lib; {
description = "Bitlbee plugin for Mastodon";
homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jpotier ];
platforms = lib.platforms.linux;
};
}
|