Loading pkgs/development/python-modules/pyhanko/default.nix +30 −25 Original line number Diff line number Diff line { lib, stdenv, aiohttp, asn1crypto, buildPythonPackage, certomancer, fetchFromGitHub, # build-system setuptools, # dependencies asn1crypto, click, cryptography, defusedxml, fetchFromGitHub, fonttools, freezegun, oscrypto, pillow, pyhanko-certvalidator, pytest-aiohttp, pytestCheckHook, python-barcode, python-pae, python-pkcs11, pythonOlder, pyyaml, qrcode, requests, requests-mock, setuptools, tzlocal, # optional-dependencies oscrypto, defusedxml, fonttools, uharfbuzz, pillow, python-barcode, python-pkcs11, aiohttp, xsdata, # tests certomancer, freezegun, pytest-aiohttp, pytestCheckHook, python-pae, requests-mock, }: buildPythonPackage rec { Loading @@ -35,8 +42,6 @@ buildPythonPackage rec { version = "0.25.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "MatthiasValvekens"; repo = "pyHanko"; Loading @@ -57,7 +62,7 @@ buildPythonPackage rec { tzlocal ]; passthru.optional-dependencies = { optional-dependencies = { extra-pubkey-algs = [ oscrypto ]; xmp = [ defusedxml ]; opentype = [ Loading @@ -77,11 +82,11 @@ buildPythonPackage rec { aiohttp certomancer freezegun python-pae pytest-aiohttp requests-mock pytestCheckHook ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); python-pae requests-mock ] ++ lib.flatten (lib.attrValues optional-dependencies); disabledTestPaths = [ # ModuleNotFoundError: No module named 'csc_dummy' Loading Loading @@ -116,12 +121,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "pyhanko" ]; meta = with lib; { meta = { description = "Sign and stamp PDF files"; mainProgram = "pyhanko"; homepage = "https://github.com/MatthiasValvekens/pyHanko"; changelog = "https://github.com/MatthiasValvekens/pyHanko/blob/v${version}/docs/changelog.rst"; license = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; # Most tests fail with: # OSError: One or more parameters passed to a function were not valid. Loading Loading
pkgs/development/python-modules/pyhanko/default.nix +30 −25 Original line number Diff line number Diff line { lib, stdenv, aiohttp, asn1crypto, buildPythonPackage, certomancer, fetchFromGitHub, # build-system setuptools, # dependencies asn1crypto, click, cryptography, defusedxml, fetchFromGitHub, fonttools, freezegun, oscrypto, pillow, pyhanko-certvalidator, pytest-aiohttp, pytestCheckHook, python-barcode, python-pae, python-pkcs11, pythonOlder, pyyaml, qrcode, requests, requests-mock, setuptools, tzlocal, # optional-dependencies oscrypto, defusedxml, fonttools, uharfbuzz, pillow, python-barcode, python-pkcs11, aiohttp, xsdata, # tests certomancer, freezegun, pytest-aiohttp, pytestCheckHook, python-pae, requests-mock, }: buildPythonPackage rec { Loading @@ -35,8 +42,6 @@ buildPythonPackage rec { version = "0.25.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "MatthiasValvekens"; repo = "pyHanko"; Loading @@ -57,7 +62,7 @@ buildPythonPackage rec { tzlocal ]; passthru.optional-dependencies = { optional-dependencies = { extra-pubkey-algs = [ oscrypto ]; xmp = [ defusedxml ]; opentype = [ Loading @@ -77,11 +82,11 @@ buildPythonPackage rec { aiohttp certomancer freezegun python-pae pytest-aiohttp requests-mock pytestCheckHook ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); python-pae requests-mock ] ++ lib.flatten (lib.attrValues optional-dependencies); disabledTestPaths = [ # ModuleNotFoundError: No module named 'csc_dummy' Loading Loading @@ -116,12 +121,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "pyhanko" ]; meta = with lib; { meta = { description = "Sign and stamp PDF files"; mainProgram = "pyhanko"; homepage = "https://github.com/MatthiasValvekens/pyHanko"; changelog = "https://github.com/MatthiasValvekens/pyHanko/blob/v${version}/docs/changelog.rst"; license = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; # Most tests fail with: # OSError: One or more parameters passed to a function were not valid. Loading