3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix

30 lines
797 B
Nix
Raw Normal View History

{ lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }:
2019-07-10 17:04:23 +01:00
2021-01-15 05:42:41 +00:00
with lib;
2019-07-10 17:04:23 +01:00
stdenv.mkDerivation rec {
pname = "bitlbee-mastodon";
2020-07-15 16:48:51 +01:00
version = "1.4.4";
2019-07-10 17:04:23 +01:00
src = fetchgit {
url = "https://alexschroeder.ch/cgit/bitlbee-mastodon";
rev = "v${version}";
2020-07-15 16:48:51 +01:00
sha256 = "0a8196pyr6bjnqg82zn7jdhiv7xsg4npbpzalla1i2h99j30q8pk";
2019-07-10 17:04:23 +01:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ bitlbee ];
2019-07-10 17:04:23 +01:00
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
export BITLBEE_DATADIR=$out/share/bitlbee
'';
meta = {
description = "Bitlbee plugin for Mastodon";
homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jpotier ];
2021-01-15 05:42:41 +00:00
platforms = lib.platforms.linux;
2019-07-10 17:04:23 +01:00
};
}