nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 57 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchurl, 5 fetchFromGitLab, 6 gobject-introspection, 7 idna, 8 libsoup_3, 9 packaging, 10 precis-i18n, 11 pygobject3, 12 pyopenssl, 13 pytestCheckHook, 14 setuptools, 15}: 16 17buildPythonPackage rec { 18 pname = "nbxmpp"; 19 version = "7.0.0"; 20 pyproject = true; 21 22 src = fetchFromGitLab { 23 domain = "dev.gajim.org"; 24 owner = "gajim"; 25 repo = "python-nbxmpp"; 26 tag = version; 27 hash = "sha256-NzSXvuPf7PZbMPgD3nhPgTH4Vd8DVx49fjf7cPcvywc="; 28 }; 29 30 nativeBuildInputs = [ 31 # required for pythonImportsCheck otherwise libsoup cannot be found 32 gobject-introspection 33 setuptools 34 ]; 35 36 buildInputs = [ precis-i18n ]; 37 38 propagatedBuildInputs = [ 39 gobject-introspection 40 idna 41 libsoup_3 42 packaging 43 pygobject3 44 pyopenssl 45 ]; 46 47 nativeCheckInputs = [ pytestCheckHook ]; 48 49 pythonImportsCheck = [ "nbxmpp" ]; 50 51 meta = { 52 homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; 53 description = "Non-blocking Jabber/XMPP module"; 54 license = lib.licenses.gpl3Plus; 55 maintainers = [ ]; 56 }; 57}