~ruther/guix-local

eb94c2f7df9553ea4780e74ff7c55bd147f91a4a — Sharlatan Hellseher 4 months ago 1494c63
gnu: python-wmctrl: Move to xdisorg.

* gnu/packages/python-xyz.scm (python-wmctrl): Move from here ...
* gnu/packages/xdisorg.scm: ... to here.

Change-Id: I9e70f3fda5f97d580d4f610c8fe6e913c4a508bf
2 files changed, 35 insertions(+), 35 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/xdisorg.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -35
@@ 11443,41 11443,6 @@ humans, and implementation simplicity.")
    (description "This Python library implements 3-way merge for text.")
    (license license:gpl2+)))

(define-public python-wmctrl
  (package
    (name "python-wmctrl")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "wmctrl" version))
       (sha256
        (base32 "0qp9adzsabcbjgm864m4dc8x5knvfb1mskih4byxdqp9dxms6fbq"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #f ;XXX: all tests fail, require some set up
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-paths
            (lambda _
              (substitute* "wmctrl.py"
                (("'wmctrl")
                 (string-append "'" #$(this-package-input "wmctrl")
                                "/bin/wmctrl"))))))))
    (native-inputs
     (list python-setuptools))
    (inputs
     (list wmctrl))
    (propagated-inputs
     (list python-attrs))
    (home-page "https://github.com/antocuni/wmctrl")
    (synopsis "Tool to programmatically control Xorg windows")
    (description
     "This package provides a library for programmatically controlling Xorg
windows using Python.  The library relies on the @command{wmctrl} to do so.")
    (license license:expat)))

(define-public python-fancycompleter
  (package
    (name "python-fancycompleter")

M gnu/packages/xdisorg.scm => gnu/packages/xdisorg.scm +35 -0
@@ 2834,6 2834,41 @@ both binary and text data.")
the X11 clipboard")
    (license license:bsd-3)))

(define-public python-wmctrl
  (package
    (name "python-wmctrl")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "wmctrl" version))
       (sha256
        (base32 "0qp9adzsabcbjgm864m4dc8x5knvfb1mskih4byxdqp9dxms6fbq"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #f ;XXX: all tests fail, require some set up
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-paths
            (lambda _
              (substitute* "wmctrl.py"
                (("'wmctrl")
                 (string-append "'" #$(this-package-input "wmctrl")
                                "/bin/wmctrl"))))))))
    (native-inputs
     (list python-setuptools))
    (inputs
     (list wmctrl))
    (propagated-inputs
     (list python-attrs))
    (home-page "https://github.com/antocuni/wmctrl")
    (synopsis "Tool to programmatically control Xorg windows")
    (description
     "This package provides a library for programmatically controlling Xorg
windows using Python.  The library relies on the @command{wmctrl} to do so.")
    (license license:expat)))

(define-public python-xdo
  (package
    (name "python-xdo")