~ruther/guix-local

ada90373792a44afe3799f5e0e2d24c38a050587 — Sharlatan Hellseher 9 months ago eb580ae
gnu: openconnect-sso: Swap poetry with poetry-core.

* gnu/packages/vpn.scm (openconnect-sso): Update to 0.8.0.
[arguments] <phases>: Add 'use-poetry-core.
[inputs]: Remove poetry.
[native-inputs]: Add python-poetry-core.

Change-Id: Ia69cb9d24cd3368a966297cfcdbafc655ab9f8ef
1 files changed, 8 insertions(+), 2 deletions(-)

M gnu/packages/vpn.scm
M gnu/packages/vpn.scm => gnu/packages/vpn.scm +8 -2
@@ 798,6 798,12 @@ others.")
    (arguments
     `(#:phases
       (modify-phases %standard-phases
          (add-after 'unpack 'use-poetry-core
            (lambda _
              ;; Patch to use the core poetry API.
              (substitute* "pyproject.toml"
                (("poetry.masonry.api")
                 "poetry.core.masonry.api"))))
         (add-after 'unpack 'patch-openconnect
           (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "openconnect_sso/app.py"


@@ 807,7 813,6 @@ others.")
                               "\""))))))))
    (inputs
     (list openconnect
           poetry
           python-attrs
           python-colorama
           python-keyring


@@ 822,7 827,8 @@ others.")
           python-toml
           qtwebengine-5))
    (native-inputs
     (list python-pytest
     (list python-poetry-core
           python-pytest
           python-pytest-asyncio
           python-pytest-httpserver))
    (home-page "https://github.com/vlaci/openconnect-sso")