diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-02-25 20:14:56 -0800 |
---|---|---|
committer | Robert Schütz <github@dotlambda.de> | 2023-02-27 21:00:09 -0800 |
commit | d71893657dea77da27e2885c0542f018fe98b475 (patch) | |
tree | 0733569f5478b5584c7edd2b287bf383e5cb44b0 /pkgs/development/python-modules/aioxmpp | |
parent | 6025563be6c1cf39bd3124649dc0c9f7302d2762 (diff) |
python310Packages.aioxmpp: init at 0.13.3
Diffstat (limited to 'pkgs/development/python-modules/aioxmpp')
-rw-r--r-- | pkgs/development/python-modules/aioxmpp/default.nix | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioxmpp/default.nix b/pkgs/development/python-modules/aioxmpp/default.nix new file mode 100644 index 0000000000000..133d9ffc72687 --- /dev/null +++ b/pkgs/development/python-modules/aioxmpp/default.nix @@ -0,0 +1,68 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, aiosasl +, aioopenssl +, babel +, dnspython +, lxml +, multidict +, pyasn1 +, pyasn1-modules +, pyopenssl +, sortedcollections +, tzlocal +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "aioxmpp"; + version = "0.13.3"; + + format = "setuptools"; + + src = fetchFromGitHub { + owner = "horazont"; + repo = "aioxmpp"; + rev = "refs/tags/v${version}"; + hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo="; + }; + + propagatedBuildInputs = [ + aiosasl + aioopenssl + babel + dnspython + lxml + multidict + pyasn1 + pyasn1-modules + pyopenssl + sortedcollections + tzlocal + ]; + + pythonImportsCheck = [ + "aioxmpp" + "aioxmpp.node" + "aioxmpp.security_layer" + "aioxmpp.stanza" + "aioxmpp.stream" + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + disabledTestPaths = [ + "benchmarks" + ]; + + meta = { + changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst"; + description = "Pure-python XMPP library for asyncio"; + homepage = "https://github.com/horazont/aioxmpp"; + license = lib.licenses.lgpl3Plus; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} |