From 2e0990cdb446e9767b8665587c653e06e69e438f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 14 Jan 2025 09:42:40 +0000 Subject: [PATCH] gnu: Remove wireservice-package syntax rule. * gnu/packages/wireservice.scm ((wireservice-package): Delete syntax rule. Change-Id: I0f0ad62e782b400bd8a8bf2856c1fa3f37cb1a33 --- gnu/packages/wireservice.scm | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index 34e84240cff0d68ac0e6526bb0209d7bd59c6e85..f4b1d14d33fdd000ffd9d07a5fd12210a27b4a9e 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -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")