nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 52 lines 935 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitLab 5, gobject-introspection 6, idna 7, libsoup 8, precis-i18n 9, pygobject3 10, pyopenssl 11, pytestCheckHook 12}: 13 14buildPythonPackage rec { 15 pname = "nbxmpp"; 16 version = "3.0.2"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitLab { 21 domain = "dev.gajim.org"; 22 owner = "gajim"; 23 repo = "python-nbxmpp"; 24 rev = "nbxmpp-${version}"; 25 sha256 = "sha256:0wvganymqw90y9mz5a5mh531r2s9z0vrkbfspx5akk98syaq6f5p"; 26 }; 27 28 buildInputs = [ 29 precis-i18n 30 ]; 31 32 propagatedBuildInputs = [ 33 gobject-introspection 34 idna 35 libsoup 36 pygobject3 37 pyopenssl 38 ]; 39 40 checkInputs = [ 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "nbxmpp" ]; 45 46 meta = with lib; { 47 homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; 48 description = "Non-blocking Jabber/XMPP module"; 49 license = licenses.gpl3Plus; 50 maintainers = with maintainers; [ abbradar ]; 51 }; 52}