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

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

29 lines
796 B
Nix
Raw Normal View History

{ lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }:
2019-07-10 16:04:23 +00:00
stdenv.mkDerivation rec {
pname = "bitlbee-mastodon";
2021-12-11 17:01:06 +00:00
version = "1.4.5";
2019-07-10 16:04:23 +00:00
src = fetchgit {
url = "https://alexschroeder.ch/cgit/bitlbee-mastodon";
rev = "v${version}";
2021-12-11 17:01:06 +00:00
sha256 = "sha256-8vmq/YstuBYUxe00P4NrxD/eMYI++R9uvn1sCcMTr7I=";
2019-07-10 16:04:23 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ bitlbee ];
2019-07-10 16:04:23 +00:00
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
export BITLBEE_DATADIR=$out/share/bitlbee
'';
meta = with lib; {
2019-07-10 16:04:23 +00:00
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 16:04:23 +00:00
};
}