diff options
author | EEva (JPotier) <jpo.contributes.to.nixos@marvid.fr> | 2019-07-10 19:04:23 +0300 |
---|---|---|
committer | EEva (JPotier) <jpo.contributes.to.nixos@marvid.fr> | 2019-08-07 19:56:08 +0300 |
commit | d30080584b33cd681e27e43e9077e3af2279edee (patch) | |
tree | 671cb17ba565fe637031024d8b046760d2a69fa2 /pkgs/applications/networking/instant-messengers | |
parent | dc336293a166a474d236256f9e196c435d5266a5 (diff) |
bitlbee-mastodon: init at 1.4.2
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix b/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix new file mode 100644 index 0000000000000..ecd76977eb2ba --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix @@ -0,0 +1,30 @@ +{ fetchgit, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }: + +with stdenv.lib; +stdenv.mkDerivation rec { + pname = "bitlbee-mastodon"; + version = "1.4.2"; + + src = fetchgit { + url = "https://alexschroeder.ch/cgit/bitlbee-mastodon"; + rev = "v${version}"; + sha256 = "04rakgr1pfsg1vhfwlfbggbzw249j7dmk88xrsnf3n84c5ccdyas"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ bitlbee glib ]; + + preConfigure = '' + export BITLBEE_PLUGINDIR=$out/lib/bitlbee + export BITLBEE_DATADIR=$out/share/bitlbee + ./autogen.sh + ''; + + meta = { + description = "Bitlbee plugin for Mastodon"; + homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ jpotier ]; + platforms = stdenv.lib.platforms.linux; + }; +} |