nixpkgs/pkgs/applications/networking/instant-messengers/poezio/default.nix

31 lines
811 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig, setuptools }:
buildPythonApplication rec {
pname = "poezio";
2020-05-26 14:50:34 +00:00
version = "0.13";
disabled = pythonOlder "3.4";
checkInputs = [ pytest ];
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi setuptools ];
nativeBuildInputs = [ pkgconfig ];
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2020-05-26 14:50:34 +00:00
sha256 = "14ig7va0yf5wdhi8hk00f1wni8pj37agggdnvsicvcw2rz1cdw0x";
};
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Free console XMPP client";
homepage = "https://poez.io";
license = licenses.mit;
maintainers = [ maintainers.lsix ];
};
}