Merge pull request #111962 from fabaff/bump-slixmpp

authored by

Sandro and committed by
GitHub
07610e87 64c12484

+29 -11
+29 -11
pkgs/development/python-modules/slixmpp/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, substituteAll, aiodns, pyasn1, pyasn1-modules, aiohttp, gnupg, nose }: 1 + { lib 2 + , buildPythonPackage 3 + , aiodns 4 + , aiohttp 5 + , fetchPypi 6 + , gnupg 7 + , isPy3k 8 + , pyasn1 9 + , pyasn1-modules 10 + , pytestCheckHook 11 + , substituteAll 12 + }: 2 13 3 14 buildPythonPackage rec { 4 15 pname = "slixmpp"; 5 - version = "1.6.0"; 16 + version = "1.7.0"; 6 17 7 18 disabled = !isPy3k; 8 19 9 20 src = fetchPypi { 10 21 inherit pname version; 11 - sha256 = "0jamly1jv31ragpv8yn52av1m48iwl4i7f9knb67vmk8c22rjdwa"; 22 + sha256 = "sha256-fy7sRKS7ih4JmjOW/noL8qJ1xWVpQLbBbObHnMwT3Bc="; 12 23 }; 13 24 14 25 patches = [ ··· 18 29 }) 19 30 ]; 20 31 21 - propagatedBuildInputs = [ aiodns pyasn1 pyasn1-modules aiohttp ]; 32 + propagatedBuildInputs = [ 33 + aiodns 34 + aiohttp 35 + pyasn1 36 + pyasn1-modules 37 + ]; 22 38 23 - checkInputs = [ nose ]; 39 + checkInputs = [ pytestCheckHook ]; 24 40 25 - checkPhase = '' 26 - nosetests --where=tests --exclude=live -i slixtest.py 27 - ''; 41 + # Exclude live tests 42 + disabledTestFiles = [ "tests/live_test.py" ]; 43 + 44 + pythonImportsCheck = [ "slixmpp" ]; 28 45 29 - meta = { 46 + meta = with lib; { 30 47 description = "Elegant Python library for XMPP"; 31 - license = lib.licenses.mit; 32 - homepage = "https://dev.louiz.org/projects/slixmpp"; 48 + homepage = "https://slixmpp.readthedocs.io/"; 49 + license = licenses.mit; 50 + maintainers = with maintainers; [ fab ]; 33 51 }; 34 52 }