2018-01-02 11:53:44 +00:00
|
|
|
{ fetchurl, fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }:
|
2017-12-31 01:39:22 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bitlbee-discord-2017-12-27";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "6a03db169ad44fee55609ecd16e19f3c0f99a182";
|
|
|
|
owner = "sm00th";
|
|
|
|
repo = "bitlbee-discord";
|
|
|
|
sha256 = "1ci9a12c6zg8d6i9f95pq6dal79cp4klmmsyj8ag2gin90kl3x95";
|
|
|
|
};
|
|
|
|
|
2018-01-02 11:53:44 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ bitlbee glib ];
|
2017-12-31 01:39:22 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bitlbee plugin for Discord";
|
|
|
|
|
|
|
|
homepage = https://github.com/sm00th/bitlbee-discord;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|