Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitLab, gobject-introspection, idna, libsoup_3, packaging, precis-i18n, pygobject3, pyopenssl, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "nbxmpp"; version = "6.2.0"; format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitLab { domain = "dev.gajim.org"; owner = "gajim"; repo = "python-nbxmpp"; rev = "refs/tags/${version}"; hash = "sha256-BaRLYuyn0acikX0Imsul2yY+w4jdtXTlE84hAovuZ/4="; };
nativeBuildInputs = [ # required for pythonImportsCheck otherwise libsoup cannot be found gobject-introspection setuptools ];
buildInputs = [ precis-i18n ];
propagatedBuildInputs = [ gobject-introspection idna libsoup_3 packaging pygobject3 pyopenssl ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nbxmpp" ];
meta = with lib; { homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; description = "Non-blocking Jabber/XMPP module"; license = licenses.gpl3Plus; maintainers = with maintainers; [ abbradar ]; };}