3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/poezio/default.nix

60 lines
950 B
Nix
Raw Normal View History

2021-05-31 20:45:46 +01:00
{ lib
, aiodns
, buildPythonApplication
, cffi
, fetchFromGitHub
, mpd2
, pkg-config
, potr
, pyasn1
, pyasn1-modules
, pyinotify
, pytestCheckHook
, pythonOlder
, setuptools
, slixmpp
, typing-extensions
}:
buildPythonApplication rec {
2021-05-31 20:45:46 +01:00
pname = "poezio";
version = "0.13.1";
disabled = pythonOlder "3.4";
2021-05-31 20:45:46 +01:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "041y61pcbdb86s04qwp8s1g6bp84yskc7vdizwpi2hz18y01x5fy";
};
2021-05-31 20:45:46 +01:00
nativeBuildInputs = [
pkg-config
];
2021-05-31 20:45:46 +01:00
propagatedBuildInputs = [
aiodns
cffi
mpd2
potr
pyasn1
pyasn1-modules
pyinotify
setuptools
slixmpp
] ++ lib.optionals (pythonOlder "3.7") [
typing-extensions
];
2021-05-31 20:45:46 +01:00
checkInputs = [
pytestCheckHook
];
2021-05-31 20:45:46 +01:00
meta = with lib; {
description = "Free console XMPP client";
homepage = "https://poez.io";
license = licenses.zlib;
maintainers = [ maintainers.lsix ];
};
}