Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 872 B view raw
1{ lib, buildPythonPackage, pythonOlder, fetchFromGitLab 2, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl 3}: 4 5buildPythonPackage rec { 6 pname = "nbxmpp"; 7 version = "2.0.2"; 8 9 disabled = pythonOlder "3.7"; 10 11 # Tests aren't included in PyPI tarball. 12 src = fetchFromGitLab { 13 domain = "dev.gajim.org"; 14 owner = "gajim"; 15 repo = "python-nbxmpp"; 16 rev = "nbxmpp-${version}"; 17 sha256 = "0z27mxgfk7hvpx0xdrd8g9441rywv74yk7s83zjnc2mc7xvpwhf4"; 18 }; 19 20 buildInputs = [ precis-i18n ]; 21 propagatedBuildInputs = [ gobject-introspection idna libsoup pygobject3 pyopenssl ]; 22 23 pythonImportsCheck = [ "nbxmpp" ]; 24 25 meta = with lib; { 26 homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; 27 description = "Non-blocking Jabber/XMPP module"; 28 license = licenses.gpl3Plus; 29 maintainers = with maintainers; [ abbradar ]; 30 }; 31}