Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
820 B
Nix
42 lines
820 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
bitlbee,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bitlbee-discord";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
tag = version;
|
|
owner = "sm00th";
|
|
repo = "bitlbee-discord";
|
|
sha256 = "00qgdvrp7hv02n0ns685igp810zxmv3adsama8601122al6x041n";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [ bitlbee ];
|
|
|
|
preConfigure = ''
|
|
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
|
|
export BITLBEE_DATADIR=$out/share/bitlbee
|
|
./autogen.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Bitlbee plugin for Discord";
|
|
|
|
homepage = "https://github.com/sm00th/bitlbee-discord";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ lassulus ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|