Merge pull request #111962 from fabaff/bump-slixmpp
This commit is contained in:
commit
07610e8739
@ -1,14 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, substituteAll, aiodns, pyasn1, pyasn1-modules, aiohttp, gnupg, nose }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, aiodns
|
||||
, aiohttp
|
||||
, fetchPypi
|
||||
, gnupg
|
||||
, isPy3k
|
||||
, pyasn1
|
||||
, pyasn1-modules
|
||||
, pytestCheckHook
|
||||
, substituteAll
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slixmpp";
|
||||
version = "1.6.0";
|
||||
version = "1.7.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jamly1jv31ragpv8yn52av1m48iwl4i7f9knb67vmk8c22rjdwa";
|
||||
sha256 = "sha256-fy7sRKS7ih4JmjOW/noL8qJ1xWVpQLbBbObHnMwT3Bc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -18,17 +29,24 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ aiodns pyasn1 pyasn1-modules aiohttp ];
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests --where=tests --exclude=live -i slixtest.py
|
||||
'';
|
||||
# Exclude live tests
|
||||
disabledTestFiles = [ "tests/live_test.py" ];
|
||||
|
||||
meta = {
|
||||
pythonImportsCheck = [ "slixmpp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Elegant Python library for XMPP";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://dev.louiz.org/projects/slixmpp";
|
||||
homepage = "https://slixmpp.readthedocs.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user