Loading pkgs/by-name/ch/changedetection-io/package.nix +36 −19 Original line number Diff line number Diff line Loading @@ -2,18 +2,19 @@ lib, fetchFromGitHub, python3, gitUpdater, }: python3.pkgs.buildPythonApplication rec { pname = "changedetection-io"; version = "0.49.4"; version = "0.50.14"; format = "setuptools"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "changedetection.io"; tag = version; hash = "sha256-EmtJ8XXPb75W4VPj4Si9fdzVLDKVfm+8P6UZZlMpMdI="; hash = "sha256-zxCb2mmCicjDxilj/l8HabJm2FsFQB0yLNaRiIDltwI="; }; pythonRelaxDeps = true; Loading @@ -22,14 +23,13 @@ python3.pkgs.buildPythonApplication rec { with python3.pkgs; [ apprise babel beautifulsoup4 blinker brotli babel chardet cryptography dnspython elementpath eventlet extruct feedgen flask Loading @@ -39,45 +39,62 @@ python3.pkgs.buildPythonApplication rec { flask-login flask-paginate flask-restful flask-socketio flask-wtf gevent greenlet inscriptis janus jinja2 jinja2-time jsonpath-ng jq jsonpath-ng jsonschema levenshtein loguru lxml openapi-core openpyxl paho-mqtt playwright pyee pyppeteer panzi-json-logic pluggy price-parser psutil pyppeteer-ng # pyppeteerstealth python-engineio python-magic python-socketio pytz referencing requests requests-file selenium setuptools timeago urllib3 tzdata validators werkzeug wtforms ] ++ requests.optional-dependencies.socks; ++ requests.optional-dependencies.socks ++ openapi-core.optional-dependencies.flask; # tests can currently not be run in one pytest invocation and without docker doCheck = false; nativeCheckInputs = with python3.pkgs; [ pytest-flask pytestCheckHook ]; pythonImportsCheck = [ "changedetectionio" ]; passthru.updateScript = gitUpdater { }; meta = with lib; { meta = { description = "Self-hosted free open source website change detection tracking, monitoring and notification service"; homepage = "https://github.com/dgtlmoon/changedetection.io"; changelog = "https://github.com/dgtlmoon/changedetection.io/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ mikaelfangel ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ mikaelfangel thanegill ]; mainProgram = "changedetection.io"; }; } pkgs/development/python-modules/panzi-json-logic/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, unittestCheckHook, setuptools, }: buildPythonPackage rec { pname = "panzi-json-logic"; version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "panzi"; repo = "panzi-json-logic"; tag = "v${version}"; hash = "sha256-P34+7SckMtiCTZbdKsjztNam+/HWtcVQEnGPMoPBw3g="; }; build-system = [ setuptools ]; nativeCheckInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "json_logic" ]; meta = { description = "Pure Python 3 JsonLogic and CertLogic implementation."; homepage = "https://github.com/panzi/panzi-json-logic"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ thanegill ]; }; } pkgs/development/python-modules/price-parser/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, pytest-cov, attrs, }: buildPythonPackage rec { pname = "price-parser"; version = "0.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "scrapinghub"; repo = "price-parser"; tag = version; hash = "sha256-9f/+Yw94SVvg9fl9zYR9YEMwAgKHwySG5cysPMomnA0="; }; dependencies = [ attrs ]; nativeCheckInputs = [ pytestCheckHook pytest-cov ]; pythonImportsCheck = [ "price_parser" ]; meta = { description = "Extract price amount and currency symbol from a raw text string"; homepage = "https://github.com/scrapinghub/price-parser"; changelog = "https://github.com/scrapinghub/price-parser/blob/${version}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ thanegill ]; }; } pkgs/development/python-modules/pyppeteer-ng/default.nix 0 → 100644 +160 −0 Original line number Diff line number Diff line { lib, aenum, aiohttp, appdirs, buildPythonPackage, certifi, diff-match-patch, fetchFromGitHub, flake8, importlib-metadata, livereload, mypy, networkx, ordered-set, pillow, pixelmatch, poetry-core, pre-commit, pydocstyle, pyee, pylint, pytest, pytest-cov, pytest-timeout, pytest-xdist, pytestCheckHook, pythonOlder, readme-renderer, sphinx, sphinxcontrib-asyncio, syncer, tox, tqdm, typing-extensions, typing-inspect, urllib3, websockets, }: buildPythonPackage rec { pname = "pyppeteer-ng"; version = "2.0.0rc10"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "pyppeteer-ng"; tag = version; hash = "sha256-NpxjKsh12pr/MCZ4gfoaa+3jTYyvQzHgSno1+rw2Wk0="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'aenum = "^2.2.3"' 'aenum = "*"' \ --replace-fail 'typing_inspect = { version ="^0.5.0"' 'typing_inspect = { version ="*"' \ --replace-fail 'urllib3 = "^1.25.8"' 'urllib3 = "*"' \ --replace-fail 'websockets = "^10.1"' 'websockets = "*"' \ --replace-fail 'requires = ["poetry>=0.12"]' 'requires = ["poetry-core"]' \ --replace-fail 'build-backend = "poetry.masonry.api"' 'build-backend = "poetry.core.masonry.api"' substituteInPlace tests/conftest.py \ --replace-fail '_port = get_free_port()' "" substituteInPlace tests/utils/server.py \ --replace-fail '_Middleware' '_Middlewares' \ ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aenum appdirs certifi ordered-set pillow pyee tqdm typing-inspect typing-extensions urllib3 websockets ]; nativeCheckInputs = [ aiohttp diff-match-patch flake8 livereload mypy networkx pixelmatch pre-commit pydocstyle pylint pytest pytest-cov pytest-timeout pytest-xdist readme-renderer sphinx sphinxcontrib-asyncio syncer tox pytestCheckHook ]; disabledTestPaths = [ # Requires network access "tests/test_abnormal_crash.py" "tests/test_accessibility.py" "tests/test_browser.py" "tests/test_browser_context.py" "tests/test_browser_fetcher.py" "tests/test_click.py" "tests/test_connection.py" "tests/test_coverage.py" "tests/test_dialog.py" "tests/test_element_handle.py" "tests/test_emulation.py" "tests/test_execution_context.py" "tests/test_frame.py" "tests/test_input.py" "tests/test_jshandle.py" "tests/test_keyboard.py" "tests/test_launcher.py" "tests/test_mouse.py" "tests/test_navigation.py" "tests/test_page.py" "tests/test_pyppeteer.py" "tests/test_queryselector.py" "tests/test_requestinterception.py" "tests/test_screenshot.py" "tests/test_target.py" "tests/test_touchscreen.py" "tests/test_tracing.py" "tests/test_worker.py" # Failing "pyee12-compat/connection_stability_test.py" "pyee12-compat/pyee_compatibility_test.py" "pyee12-compat/real_websocket_test.py" "pyee12-compat/simple_connection_test.py" "pyee12-compat/simplified_test.py" "tests/test_misc.py" ]; pythonImportsCheck = [ "pyppeteer" ]; meta = with lib; { description = "Headless chrome/chromium automation library (unofficial port of puppeteer)"; mainProgram = "pyppeteer-install"; homepage = "https://github.com/dgtlmoon/pyppeteer-ng"; changelog = "https://github.com/dgtlmoon/pyppeteer-ng/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ thanegill ]; }; } pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -11523,6 +11523,8 @@ self: super: with self; { panphon = callPackage ../development/python-modules/panphon { }; panzi-json-logic = callPackage ../development/python-modules/panzi-json-logic { }; paperbush = callPackage ../development/python-modules/paperbush { }; papermill = callPackage ../development/python-modules/papermill { }; Loading Loading @@ -12268,6 +12270,8 @@ self: super: with self; { prettytable = callPackage ../development/python-modules/prettytable { }; price-parser = callPackage ../development/python-modules/price-parser { }; primecountpy = callPackage ../development/python-modules/primecountpy { }; primepy = callPackage ../development/python-modules/primepy { }; Loading Loading @@ -13954,6 +13958,8 @@ self: super: with self; { pyppeteer = callPackage ../development/python-modules/pyppeteer { }; pyppeteer-ng = callPackage ../development/python-modules/pyppeteer-ng { }; pyppmd = callPackage ../development/python-modules/pyppmd { }; pyprecice = callPackage ../development/python-modules/pyprecice { Loading Loading
pkgs/by-name/ch/changedetection-io/package.nix +36 −19 Original line number Diff line number Diff line Loading @@ -2,18 +2,19 @@ lib, fetchFromGitHub, python3, gitUpdater, }: python3.pkgs.buildPythonApplication rec { pname = "changedetection-io"; version = "0.49.4"; version = "0.50.14"; format = "setuptools"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "changedetection.io"; tag = version; hash = "sha256-EmtJ8XXPb75W4VPj4Si9fdzVLDKVfm+8P6UZZlMpMdI="; hash = "sha256-zxCb2mmCicjDxilj/l8HabJm2FsFQB0yLNaRiIDltwI="; }; pythonRelaxDeps = true; Loading @@ -22,14 +23,13 @@ python3.pkgs.buildPythonApplication rec { with python3.pkgs; [ apprise babel beautifulsoup4 blinker brotli babel chardet cryptography dnspython elementpath eventlet extruct feedgen flask Loading @@ -39,45 +39,62 @@ python3.pkgs.buildPythonApplication rec { flask-login flask-paginate flask-restful flask-socketio flask-wtf gevent greenlet inscriptis janus jinja2 jinja2-time jsonpath-ng jq jsonpath-ng jsonschema levenshtein loguru lxml openapi-core openpyxl paho-mqtt playwright pyee pyppeteer panzi-json-logic pluggy price-parser psutil pyppeteer-ng # pyppeteerstealth python-engineio python-magic python-socketio pytz referencing requests requests-file selenium setuptools timeago urllib3 tzdata validators werkzeug wtforms ] ++ requests.optional-dependencies.socks; ++ requests.optional-dependencies.socks ++ openapi-core.optional-dependencies.flask; # tests can currently not be run in one pytest invocation and without docker doCheck = false; nativeCheckInputs = with python3.pkgs; [ pytest-flask pytestCheckHook ]; pythonImportsCheck = [ "changedetectionio" ]; passthru.updateScript = gitUpdater { }; meta = with lib; { meta = { description = "Self-hosted free open source website change detection tracking, monitoring and notification service"; homepage = "https://github.com/dgtlmoon/changedetection.io"; changelog = "https://github.com/dgtlmoon/changedetection.io/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ mikaelfangel ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ mikaelfangel thanegill ]; mainProgram = "changedetection.io"; }; }
pkgs/development/python-modules/panzi-json-logic/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, unittestCheckHook, setuptools, }: buildPythonPackage rec { pname = "panzi-json-logic"; version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "panzi"; repo = "panzi-json-logic"; tag = "v${version}"; hash = "sha256-P34+7SckMtiCTZbdKsjztNam+/HWtcVQEnGPMoPBw3g="; }; build-system = [ setuptools ]; nativeCheckInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "json_logic" ]; meta = { description = "Pure Python 3 JsonLogic and CertLogic implementation."; homepage = "https://github.com/panzi/panzi-json-logic"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ thanegill ]; }; }
pkgs/development/python-modules/price-parser/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, pytest-cov, attrs, }: buildPythonPackage rec { pname = "price-parser"; version = "0.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "scrapinghub"; repo = "price-parser"; tag = version; hash = "sha256-9f/+Yw94SVvg9fl9zYR9YEMwAgKHwySG5cysPMomnA0="; }; dependencies = [ attrs ]; nativeCheckInputs = [ pytestCheckHook pytest-cov ]; pythonImportsCheck = [ "price_parser" ]; meta = { description = "Extract price amount and currency symbol from a raw text string"; homepage = "https://github.com/scrapinghub/price-parser"; changelog = "https://github.com/scrapinghub/price-parser/blob/${version}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ thanegill ]; }; }
pkgs/development/python-modules/pyppeteer-ng/default.nix 0 → 100644 +160 −0 Original line number Diff line number Diff line { lib, aenum, aiohttp, appdirs, buildPythonPackage, certifi, diff-match-patch, fetchFromGitHub, flake8, importlib-metadata, livereload, mypy, networkx, ordered-set, pillow, pixelmatch, poetry-core, pre-commit, pydocstyle, pyee, pylint, pytest, pytest-cov, pytest-timeout, pytest-xdist, pytestCheckHook, pythonOlder, readme-renderer, sphinx, sphinxcontrib-asyncio, syncer, tox, tqdm, typing-extensions, typing-inspect, urllib3, websockets, }: buildPythonPackage rec { pname = "pyppeteer-ng"; version = "2.0.0rc10"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "pyppeteer-ng"; tag = version; hash = "sha256-NpxjKsh12pr/MCZ4gfoaa+3jTYyvQzHgSno1+rw2Wk0="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'aenum = "^2.2.3"' 'aenum = "*"' \ --replace-fail 'typing_inspect = { version ="^0.5.0"' 'typing_inspect = { version ="*"' \ --replace-fail 'urllib3 = "^1.25.8"' 'urllib3 = "*"' \ --replace-fail 'websockets = "^10.1"' 'websockets = "*"' \ --replace-fail 'requires = ["poetry>=0.12"]' 'requires = ["poetry-core"]' \ --replace-fail 'build-backend = "poetry.masonry.api"' 'build-backend = "poetry.core.masonry.api"' substituteInPlace tests/conftest.py \ --replace-fail '_port = get_free_port()' "" substituteInPlace tests/utils/server.py \ --replace-fail '_Middleware' '_Middlewares' \ ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aenum appdirs certifi ordered-set pillow pyee tqdm typing-inspect typing-extensions urllib3 websockets ]; nativeCheckInputs = [ aiohttp diff-match-patch flake8 livereload mypy networkx pixelmatch pre-commit pydocstyle pylint pytest pytest-cov pytest-timeout pytest-xdist readme-renderer sphinx sphinxcontrib-asyncio syncer tox pytestCheckHook ]; disabledTestPaths = [ # Requires network access "tests/test_abnormal_crash.py" "tests/test_accessibility.py" "tests/test_browser.py" "tests/test_browser_context.py" "tests/test_browser_fetcher.py" "tests/test_click.py" "tests/test_connection.py" "tests/test_coverage.py" "tests/test_dialog.py" "tests/test_element_handle.py" "tests/test_emulation.py" "tests/test_execution_context.py" "tests/test_frame.py" "tests/test_input.py" "tests/test_jshandle.py" "tests/test_keyboard.py" "tests/test_launcher.py" "tests/test_mouse.py" "tests/test_navigation.py" "tests/test_page.py" "tests/test_pyppeteer.py" "tests/test_queryselector.py" "tests/test_requestinterception.py" "tests/test_screenshot.py" "tests/test_target.py" "tests/test_touchscreen.py" "tests/test_tracing.py" "tests/test_worker.py" # Failing "pyee12-compat/connection_stability_test.py" "pyee12-compat/pyee_compatibility_test.py" "pyee12-compat/real_websocket_test.py" "pyee12-compat/simple_connection_test.py" "pyee12-compat/simplified_test.py" "tests/test_misc.py" ]; pythonImportsCheck = [ "pyppeteer" ]; meta = with lib; { description = "Headless chrome/chromium automation library (unofficial port of puppeteer)"; mainProgram = "pyppeteer-install"; homepage = "https://github.com/dgtlmoon/pyppeteer-ng"; changelog = "https://github.com/dgtlmoon/pyppeteer-ng/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ thanegill ]; }; }
pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -11523,6 +11523,8 @@ self: super: with self; { panphon = callPackage ../development/python-modules/panphon { }; panzi-json-logic = callPackage ../development/python-modules/panzi-json-logic { }; paperbush = callPackage ../development/python-modules/paperbush { }; papermill = callPackage ../development/python-modules/papermill { }; Loading Loading @@ -12268,6 +12270,8 @@ self: super: with self; { prettytable = callPackage ../development/python-modules/prettytable { }; price-parser = callPackage ../development/python-modules/price-parser { }; primecountpy = callPackage ../development/python-modules/primecountpy { }; primepy = callPackage ../development/python-modules/primepy { }; Loading Loading @@ -13954,6 +13958,8 @@ self: super: with self; { pyppeteer = callPackage ../development/python-modules/pyppeteer { }; pyppeteer-ng = callPackage ../development/python-modules/pyppeteer-ng { }; pyppmd = callPackage ../development/python-modules/pyppmd { }; pyprecice = callPackage ../development/python-modules/pyprecice { Loading