~ruther/guix-local

2e0990cdb446e9767b8665587c653e06e69e438f — Sharlatan Hellseher 1 year, 2 months ago 75c2863
gnu: Remove wireservice-package syntax rule.

* gnu/packages/wireservice.scm ((wireservice-package): Delete syntax rule.

Change-Id: I0f0ad62e782b400bd8a8bf2856c1fa3f37cb1a33
1 files changed, 0 insertions(+), 28 deletions(-)

M gnu/packages/wireservice.scm
M gnu/packages/wireservice.scm => gnu/packages/wireservice.scm +0 -28
@@ 39,34 39,6 @@
  #:use-module (gnu packages time)
  #:use-module (gnu packages xml))

;; Common package definition for packages from https://github.com/wireservice.
(define-syntax-rule (wireservice-package extra-fields ...)
  (package
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda _
             (invoke "nosetests" "tests")))
         (add-after 'install 'install-docs
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (doc (string-append out "/share/doc/"
                                        ,(package-name this-package)
                                        "-"
                                        ,(package-version this-package))))
               (with-directory-excursion "docs"
                 (for-each
                  (lambda (target)
                    (invoke "make" target)
                    (copy-recursively (string-append "_build/" target)
                                      (string-append doc "/" target)))
                  '("html" "dirhtml" "singlehtml" "text")))
               #t))))))
    (license license:expat)
    extra-fields ...))

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