diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-03-20 23:34:24 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-03-20 23:34:24 +0100 |
commit | d386210a918155d448e56c0a412fa5180d2a253f (patch) | |
tree | f28c489fad9d30edb5ced0ca8d7380aee1c0a276 | |
parent | 07200c01bac52b36caa0987e7b011d79fa31b491 (diff) | |
download | nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar.gz nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar.bz2 nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar.lz nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar.xz nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.tar.zst nixpkgs-d386210a918155d448e56c0a412fa5180d2a253f.zip |
python3Packages.slixmpp: 1.8.0.1 -> 1.8.1
-rw-r--r-- | pkgs/development/python-modules/slixmpp/default.nix | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/slixmpp/default.nix b/pkgs/development/python-modules/slixmpp/default.nix index 4a4386ff5bc..4743639c43d 100644 --- a/pkgs/development/python-modules/slixmpp/default.nix +++ b/pkgs/development/python-modules/slixmpp/default.nix @@ -4,31 +4,25 @@ , aiohttp , fetchPypi , gnupg -, isPy3k , pyasn1 , pyasn1-modules , pytestCheckHook , substituteAll +, pythonOlder }: buildPythonPackage rec { pname = "slixmpp"; - version = "1.8.0.1"; + version = "1.8.1"; + format = "setuptools"; - disabled = !isPy3k; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-J3znZl77jST94KhUBQcCxSK0qnsVWIYTG6u3po5FHh8="; + hash = "sha256-QgTIC+4JtAD9nnS+fJKZwF0aJEIrFmPHkYg8cPgXmcA="; }; - patches = [ - (substituteAll { - src = ./hardcode-gnupg-path.patch; - inherit gnupg; - }) - ]; - propagatedBuildInputs = [ aiodns aiohttp @@ -36,15 +30,28 @@ buildPythonPackage rec { pyasn1-modules ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; - # Exclude live tests - disabledTestPaths = [ "tests/live_test.py" ]; + patches = [ + (substituteAll { + src = ./hardcode-gnupg-path.patch; + inherit gnupg; + }) + ]; + + disabledTestPaths = [ + # Exclude live tests + "tests/live_test.py" + ]; - pythonImportsCheck = [ "slixmpp" ]; + pythonImportsCheck = [ + "slixmpp" + ]; meta = with lib; { - description = "Elegant Python library for XMPP"; + description = "Python library for XMPP"; homepage = "https://slixmpp.readthedocs.io/"; license = licenses.mit; maintainers = with maintainers; [ fab ]; |