about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2021-11-08 10:19:46 +0530
committerArun Isaac2021-11-08 10:19:46 +0530
commit3cd7ce1866867e66bf34bf6b55047ffabff05414 (patch)
treef03aeb29cf35d1e5bf10d24887481a74c77b3f23
parent8b1e08fe8be42a72542c92ace3c29e7715cd1150 (diff)
downloadguix-bioinformatics-3cd7ce1866867e66bf34bf6b55047ffabff05414.tar.gz
gn: Remove upstreamed packages.
* gn/packages/python.scm (python-webcolors): Delete variable.
* gn/packages/messaging.scm: Delete file.
-rw-r--r--gn/packages/messaging.scm130
-rw-r--r--gn/packages/python.scm39
2 files changed, 0 insertions, 169 deletions
diff --git a/gn/packages/messaging.scm b/gn/packages/messaging.scm
deleted file mode 100644
index 4c1e951..0000000
--- a/gn/packages/messaging.scm
+++ /dev/null
@@ -1,130 +0,0 @@
-(define-module (gn packages messaging)
-  #:use-module ((guix licenses) #:prefix license:)
-  #:use-module (guix build-system python)
-  #:use-module (guix git-download)
-  #:use-module (guix packages)
-  #:use-module (gnu packages)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages matrix)
-  #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
-  #:use-module (gnu packages python-web)
-  #:use-module (gnu packages python-xyz)
-  #:use-module (gn packages python))
-
-(define-public weechat-matrix
-  (package
-    (name "weechat-matrix")
-    (version "0.3.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/poljar/weechat-matrix")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1iv55n4k05139f7jzkhczgw4qp6qwilrvfsy3c6v2m1kxffj12d3"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'build)
-         (replace 'install
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((weechat-python (string-append (assoc-ref outputs "out")
-                                                   "/share/weechat/python")))
-               ;; Avoid circular import by renaming the matrix module to
-               ;; weechat_matrix.
-               (substitute* (cons "main.py"
-                                  (append (find-files "matrix")
-                                          (find-files "tests")))
-                 (("from matrix") "from weechat_matrix")
-                 (("import matrix") "import weechat_matrix"))
-               ;; Install python modules.
-               (invoke "make" "install-lib"
-                       (string-append "INSTALLDIR="
-                                      (site-packages inputs outputs)
-                                      "/weechat_matrix"))
-               ;; Extend PYTHONPATH to find installed python modules.
-               (add-installed-pythonpath inputs outputs)
-               ;; Augment sys.path so that dependencies are found.
-               (substitute* "main.py"
-                 (("import os\n" all)
-                  (apply string-append
-                         all
-                         "import sys\n"
-                         (map (lambda (path)
-                                (string-append "sys.path.append('" path "')\n"))
-                              (string-split (getenv "PYTHONPATH") #\:)))))
-               ;; Install script.
-               (mkdir-p weechat-python)
-               (copy-file "main.py"
-                          (string-append weechat-python "/matrix.py")))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest")))))))
-    (inputs
-     `(("python-matrix-nio" ,python-matrix-nio)
-       ("python-pygments" ,python-pygments)
-       ("python-pyopenssl" ,python-pyopenssl)
-       ("python-webcolors" ,python-webcolors)))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)))
-    (home-page "https://github.com/poljar/weechat-matrix")
-    (synopsis "Weechat Matrix protocol script")
-    (description "@code{weechat-matrix} is a Python plugin for Weechat that lets
-Weechat communicate over the Matrix protocol.")
-    (license license:isc)))
-
-(define-public weechat-wee-slack
-  (package
-    (name "weechat-wee-slack")
-    (version "2.8.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/wee-slack/wee-slack")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "0xfklr0gsc9jgxfyrrb2j756lclz9g8imcb0pk0xgyj8mhsw23zk"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'build)
-         (replace 'install
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             ;; Augment sys.path so that dependencies are found.
-             (substitute* "wee_slack.py"
-               (("import sys\n" all)
-                (apply string-append
-                       all
-                       (map (lambda (path)
-                              (string-append "sys.path.append('" path "')\n"))
-                            (string-split (getenv "PYTHONPATH") #\:)))))
-             ;; Install script.
-             (install-file "wee_slack.py"
-                           (string-append (assoc-ref outputs "out")
-                                          "/share/weechat/python"))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest")))))))
-    (inputs
-     `(("python-websocket-client" ,python-websocket-client)))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)))
-    (home-page "https://github.com/wee-slack/wee-slack")
-    (synopsis "Weechat Slack script")
-    (description "@code{weechat-wee-slack} is a WeeChat native client for
-Slack.  It provides supplemental features only available in the web/mobile
-clients such as synchronizing read markers, typing notification, threads (and
-more)!  It connects via the Slack API, and maintains a persistent websocket
-for notification of events.")
-    (license license:expat)))
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index f09e1bb..d14518d 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -1861,42 +1861,3 @@ window to get to RStudio for example.")
      "This extension adds a toolbar overlay to Flask applications containing
 useful information for debugging.")
     (license license:bsd-3)))
-
-(define-public python-webcolors
-  (package
-    (name "python-webcolors")
-    (version "1.11.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "webcolors" version))
-       (sha256
-        (base32 "1rkda75h2p65zx6r84c9mjavn4xpviqvqrklvdvcklapd5in1wvn"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "pytest")))))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)))
-    (home-page "https://github.com/ubernostrum/webcolors")
-    (synopsis "HTML/CSS color definitions library")
-    (description "@code{python-webcolors} is a module for working with
-HTML/CSS color definitions.  Normalizing and converting between the following
-formats is supported.
-
-@itemize
-@item Specification-defined color names
-@item Six-digit hexadecimal
-@item Three-digit hexadecimal
-@item Integer rgb() triplet
-@item Percentage rgb() triplet
-@end itemize
-
-Only the RGB colorspace is supported.  Conversion to/from the HSL colorspace
-can be handled by the @code{colorsys} module in the Python standard library.")
-    (license license:bsd-3)))