Loading pkgs/development/python-modules/slixmpp/default.nix +36 −10 Original line number Diff line number Diff line Loading @@ -3,19 +3,23 @@ buildPythonPackage, aiodns, aiohttp, cryptography, defusedxml, emoji, fetchPypi, gnupg, pyasn1, pyasn1-modules, pytestCheckHook, replaceVars, rustPlatform, pythonOlder, }: buildPythonPackage rec { pname = "slixmpp"; version = "1.10.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -24,25 +28,47 @@ buildPythonPackage rec { hash = "sha256-RrxdAVB8tChcglXOXHF8C19o5U38HxcSiDmY1tciV4o="; }; propagatedBuildInputs = [ patches = [ (replaceVars ./hardcode-gnupg-path.patch { inherit gnupg; }) ]; build-system = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname src; hash = "sha256-CeuClBYEG2YCm5lnxFs5RhjIgYEOe76rzHpauLZeQR0="; }; dependencies = [ aiodns aiohttp pyasn1 pyasn1-modules ]; nativeCheckInputs = [ pytestCheckHook ]; optional-dependencies = { xep-0363 = [ aiohttp ]; xep-0444-compliance = [ emoji ]; xep-0464 = [ cryptography ]; safer-xml-parserig = [ defusedxml ]; }; patches = [ (replaceVars ./hardcode-gnupg-path.patch { inherit gnupg; }) ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = '' # don't test against pure python version in the source tree rm -rf slixmpp ''; disabledTestPaths = [ # Exclude integration tests "itests/" # Exclude live tests "tests/live_test.py" "tests/test_xep_0454.py" ]; pythonImportsCheck = [ "slixmpp" ]; Loading Loading
pkgs/development/python-modules/slixmpp/default.nix +36 −10 Original line number Diff line number Diff line Loading @@ -3,19 +3,23 @@ buildPythonPackage, aiodns, aiohttp, cryptography, defusedxml, emoji, fetchPypi, gnupg, pyasn1, pyasn1-modules, pytestCheckHook, replaceVars, rustPlatform, pythonOlder, }: buildPythonPackage rec { pname = "slixmpp"; version = "1.10.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -24,25 +28,47 @@ buildPythonPackage rec { hash = "sha256-RrxdAVB8tChcglXOXHF8C19o5U38HxcSiDmY1tciV4o="; }; propagatedBuildInputs = [ patches = [ (replaceVars ./hardcode-gnupg-path.patch { inherit gnupg; }) ]; build-system = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname src; hash = "sha256-CeuClBYEG2YCm5lnxFs5RhjIgYEOe76rzHpauLZeQR0="; }; dependencies = [ aiodns aiohttp pyasn1 pyasn1-modules ]; nativeCheckInputs = [ pytestCheckHook ]; optional-dependencies = { xep-0363 = [ aiohttp ]; xep-0444-compliance = [ emoji ]; xep-0464 = [ cryptography ]; safer-xml-parserig = [ defusedxml ]; }; patches = [ (replaceVars ./hardcode-gnupg-path.patch { inherit gnupg; }) ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = '' # don't test against pure python version in the source tree rm -rf slixmpp ''; disabledTestPaths = [ # Exclude integration tests "itests/" # Exclude live tests "tests/live_test.py" "tests/test_xep_0454.py" ]; pythonImportsCheck = [ "slixmpp" ]; Loading