pantalaimon: init at 0.4

This commit is contained in:
Vincent Breitmoser 2020-01-22 01:52:18 +01:00 committed by Jon
parent 52ac65c027
commit a49b311815
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,59 @@
{ lib, stdenv, buildPythonApplication, fetchPypi, pythonOlder,
attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus,
prompt_toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
pytest, faker, pytest-aiohttp, aioresponses,
enableDbusUi ? true
}:
buildPythonApplication rec {
pname = "pantalaimon";
version = "0.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1canj9w72wh1rcw6fivrvaahpxy13gb6gh1k8nss6bgixalvnq9m";
};
propagatedBuildInputs = [
aiohttp
appdirs
attrs
click
janus
keyring
Logbook
matrix-nio
peewee
prompt_toolkit
] ++ lib.optional enableDbusUi [
dbus-python
notify2
pygobject3
pydbus
];
checkInputs = [
pytest
faker
pytest-aiohttp
aioresponses
];
# darwin has difficulty communicating with server, fails some integration tests
doCheck = !stdenv.isDarwin;
checkPhase = ''
pytest
'';
meta = with lib; {
description = "An end-to-end encryption aware Matrix reverse proxy daemon.";
homepage = "https://github.com/matrix-org/pantalaimon";
license = licenses.asl20;
maintainers = with maintainers; [ valodim ];
};
}

View file

@ -20817,6 +20817,8 @@ in
paprefs = callPackage ../applications/audio/paprefs { };
pantalaimon = python3Packages.callPackage ../applications/networking/instant-messengers/pantalaimon { };
pavucontrol = callPackage ../applications/audio/pavucontrol { };
paraview = libsForQt5.callPackage ../applications/graphics/paraview { };