2019-07-28 22:53:21 +01:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder
|
2018-10-17 08:48:30 +01:00
|
|
|
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
|
|
|
|
buildPythonApplication rec {
|
2019-07-28 22:53:21 +01:00
|
|
|
pname = "poezio";
|
|
|
|
version = "0.12.1";
|
2018-10-17 08:48:30 +01:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
2019-07-28 22:53:21 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-10-17 08:48:30 +01:00
|
|
|
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2019-07-28 22:53:21 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "04qnsr0l12i55k6xl4q4akx317gai9wv5f1wpkfkq01wp181i5ll";
|
2018-10-17 08:48:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
2019-07-28 22:53:21 +01:00
|
|
|
pytest
|
2018-10-17 08:48:30 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Free console XMPP client";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://poez.io";
|
2018-10-17 08:48:30 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.lsix ];
|
|
|
|
};
|
|
|
|
}
|