diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix b/nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix new file mode 100644 index 000000000000..f1b2df658a6b --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix @@ -0,0 +1,29 @@ +{ lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: + +with lib; +stdenv.mkDerivation rec { + pname = "bitlbee-mastodon"; + version = "1.4.4"; + + src = fetchgit { + url = "https://alexschroeder.ch/cgit/bitlbee-mastodon"; + rev = "v${version}"; + sha256 = "0a8196pyr6bjnqg82zn7jdhiv7xsg4npbpzalla1i2h99j30q8pk"; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ bitlbee ]; + + 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 ]; + platforms = lib.platforms.linux; + }; +} |