3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/poezio/default.nix
Marek Mahut f4ce7887ce poezio: 0.12 -> 0.12.1
Moving the source to GitHub from dev.louiz.org.
2019-07-29 09:36:55 +02:00

31 lines
788 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
buildPythonApplication rec {
pname = "poezio";
version = "0.12.1";
disabled = pythonOlder "3.4";
checkInputs = [ pytest ];
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ];
nativeBuildInputs = [ pkgconfig ];
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "04qnsr0l12i55k6xl4q4akx317gai9wv5f1wpkfkq01wp181i5ll";
};
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Free console XMPP client";
homepage = https://poez.io;
license = licenses.mit;
maintainers = [ maintainers.lsix ];
};
}