~ruther/guix-local

284c37caf64a2a73142e46219387ea53c535ac62 — Sughosha 6 months ago 927143b
gnu: cable: Update to 0.9.21.

* gnu/packages/audio.scm (cable): Update to 0.9.21.
[arguments]<#:phases>: Remove 'wrap-executables phase.

Change-Id: I3047366220b1fb229856a1f21f583ed101103f65
1 files changed, 3 insertions(+), 20 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +3 -20
@@ 1596,7 1596,7 @@ plugins are provided.")
(define-public cable
  (package
    (name "cable")
    (version "0.9.8.1")
    (version "0.9.21")
    (source (origin
              (method git-fetch)
              (uri (git-reference


@@ 1605,10 1605,7 @@ plugins are provided.")
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzafiim1cnxrngk6nzmpx9sx1lc6qrqjrrcxg1qpigcrjvrfjs2"))
              (modules '((guix build utils)))
              (snippet
               '(delete-file-recursively "Arch packages"))))
                "1c7fy92nwp2m96asls460s83xapzcc6pqvplmg5rqds1rddiva2h"))))
    (build-system pyproject-build-system)
    (arguments
     (list


@@ 1629,21 1626,7 @@ plugins are provided.")
              (install-file "jack-plug.svg"
                            (string-append #$output "/share/icons/hicolor/scalable/apps/"))
              (install-file "com.github.magillos.cable.desktop"
                            (string-append #$output "/share/applications/"))))
          (add-after 'install-more 'wrap-executables
            (lambda* (#:key inputs #:allow-other-keys)
              (let* ((pyversion
                      #$(version-major+minor (package-version
                                              (this-package-input "python"))))
                     (lib (string-append #$output "/lib/python" pyversion
                                         "/site-packages"))
                     (file
                      (string-append lib "/cables/launch-connection-manager.py")))
                (chmod file #o555)
                (wrap-script file
                  #:guile (search-input-file inputs "bin/guile")
                  `("GUIX_PYTHONPATH" ":" prefix
                    (,lib  ,(getenv "GUIX_PYTHONPATH"))))))))))
                            (string-append #$output "/share/applications/")))))))
    (inputs
     (list python
           python-dbus