mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
Merge pull request #165024 from fabaff/bump-slixmpp
python3Packages.slixmpp: 1.8.0.1 -> 1.8.1
This commit is contained in:
commit
65acb92483
@ -4,31 +4,25 @@
|
|||||||
, aiohttp
|
, aiohttp
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, gnupg
|
, gnupg
|
||||||
, isPy3k
|
|
||||||
, pyasn1
|
, pyasn1
|
||||||
, pyasn1-modules
|
, pyasn1-modules
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "slixmpp";
|
pname = "slixmpp";
|
||||||
version = "1.8.0.1";
|
version = "1.8.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-J3znZl77jST94KhUBQcCxSK0qnsVWIYTG6u3po5FHh8=";
|
hash = "sha256-QgTIC+4JtAD9nnS+fJKZwF0aJEIrFmPHkYg8cPgXmcA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./hardcode-gnupg-path.patch;
|
|
||||||
inherit gnupg;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiodns
|
aiodns
|
||||||
aiohttp
|
aiohttp
|
||||||
@ -36,15 +30,28 @@ buildPythonPackage rec {
|
|||||||
pyasn1-modules
|
pyasn1-modules
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./hardcode-gnupg-path.patch;
|
||||||
|
inherit gnupg;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
# Exclude live tests
|
# Exclude live tests
|
||||||
disabledTestPaths = [ "tests/live_test.py" ];
|
"tests/live_test.py"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "slixmpp" ];
|
pythonImportsCheck = [
|
||||||
|
"slixmpp"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Elegant Python library for XMPP";
|
description = "Python library for XMPP";
|
||||||
homepage = "https://slixmpp.readthedocs.io/";
|
homepage = "https://slixmpp.readthedocs.io/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
Loading…
Reference in New Issue
Block a user