poezio: 0.14 -> 0.16 (#503340)
This commit is contained in:
@@ -3,52 +3,79 @@
|
||||
fetchFromCodeberg,
|
||||
pkg-config,
|
||||
python3,
|
||||
sphinxHook,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "poezio";
|
||||
version = "0.14";
|
||||
version = "0.16";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "poezio";
|
||||
repo = "poezio";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-sk+8r+a0CcoB0RidqnE7hJUgt/xvN/MCJMkxiquvdJc=";
|
||||
hash = "sha256-bpudgf9oZ+7w7izAuWYKFVO9CIHraHaGvRKLDuSIF7c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
sphinxHook
|
||||
aiohttp
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
aiodns
|
||||
cffi
|
||||
mpd2
|
||||
potr
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
pycares
|
||||
pyinotify
|
||||
dependency-groups
|
||||
setuptools
|
||||
slixmpp
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
plugins = with python3.pkgs; [
|
||||
pyinotify
|
||||
aiohttp
|
||||
pygments
|
||||
qrcode
|
||||
pillow
|
||||
python-musicpd
|
||||
];
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
${python3.pythonOnBuildForHost.interpreter} setup.py build_ext --inplace
|
||||
'';
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
sphinxBuilders = [
|
||||
"man"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"poezio"
|
||||
];
|
||||
|
||||
# remove poezio directory to prevent pytest import confusion
|
||||
preCheck = ''
|
||||
rm -r poezio
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Free console XMPP client";
|
||||
longDescription = ''
|
||||
Its goal is to let you connect very easily (no account creation needed) to
|
||||
the network and join various chatrooms, immediately. It tries to look like
|
||||
the most famous IRC clients (weechat, irssi, etc). Many commands are
|
||||
identical and you won't be lost if you already know these clients.
|
||||
Configuration can be made in a configuration file or directly from
|
||||
the client.
|
||||
|
||||
You'll find the light, fast, geeky and anonymous spirit of IRC while using
|
||||
a powerful, standard and open protocol.
|
||||
'';
|
||||
homepage = "https://poez.io";
|
||||
changelog = "https://codeberg.org/poezio/poezio/src/tag/v${finalAttrs.version}/CHANGELOG";
|
||||
license = lib.licenses.zlib;
|
||||
|
||||
Reference in New Issue
Block a user