Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 886 B view raw
1{ stdenv, buildPythonPackage, fetchzip, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl }: 2 3let 4 pname = "nbxmpp"; 5 version = "1.0.2"; 6 name = "${pname}-${version}"; 7in buildPythonPackage { 8 inherit pname version; 9 # Tests aren't included in PyPI tarball. 10 src = fetchzip { 11 name = "${name}.tar.bz2"; 12 url = "https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?" 13 + "ref=${name}"; 14 sha256 = "1rhzsakqrybzq5j5b9400wjd14pncph47c1ggn5a6f3di03lk4az"; 15 }; 16 17 buildInputs = [ precis-i18n ]; 18 checkInputs = [ gobject-introspection libsoup pygobject3 ]; 19 propagatedBuildInputs = [ idna pyopenssl ]; 20 21 meta = with stdenv.lib; { 22 homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; 23 description = "Non-blocking Jabber/XMPP module"; 24 license = licenses.gpl3; 25 maintainers = with maintainers; [ abbradar ]; 26 }; 27}