GNU bug report logs -
#35634
[PATCH] gnu: Add wordpress.
Previous Next
Reported by: swedebugia <swedebugia <at> riseup.net>
Date: Wed, 8 May 2019 14:25:02 UTC
Severity: normal
Tags: moreinfo, patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From af9e41939c2f7354b6c40b4f06ef4595c10b876f Mon Sep 17 00:00:00 2001
From: swedebugia <swedebugia <at> riseup.net>
Date: Wed, 8 May 2019 16:19:51 +0200
Subject: [PATCH] gnu: Add wordpress.
* gnu/packages/web.scm (wordpress): Add public variable.
---
gnu/packages/web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 756b00237e..8f8e669c3d 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2018 Alex Vong <alexvong1995 <at> gmail.com>
;;; Copyright © 2019 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;; Copyright © 2019 Brendan Tildesley <mail <at> brendan.scot>
+;;; Copyright © 2019 swedebugia <swedebugia <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6618,3 +6619,39 @@ Features enabled by modules:
@item LDAP connectivity
@end itemize")
(license license:gpl3+)))
+
+(define-public wordpress
+ (package
+ (name "wordpress")
+ (version "5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://wordpress.org/" name "-"
version ".tar.gz"))
+ (sha256
+ (base32
+ "1bc6sg269bllq5w6p9dkqlbmqhmijgg61jcnq8vnkri10yj8jc31"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; No configure, build or tests
+ (delete 'configure)
+ (delete 'build)
+ (delete 'check)
+ (replace 'install
+ ;; There's no ‘install’ target. Install files manually.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib/" ,name)))
+ (copy-recursively "." lib)
+ #t))))))
+ (inputs
+ `(("php" ,php)
+ ("mariadb" ,mariadb)))
+ (home-page "https://wordpress.org/")
+ (synopsis "Content management system with a web interface")
+ (description "It features include a plugin architecture and a template
+system. It is most associated with blogging but supports other types
of web
+content including more traditional mailing lists and forums, media
galleries,
+and online stores. Many plugins are available.")
+ (license license:gpl2+)))
--
2.19.2
This bug report was last modified 3 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.