unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 28177@debbugs.gnu.org
Subject: [bug#28177] [PATCH 12/12] gnu: Add ikiwiki.
Date: Mon, 21 Aug 2017 19:08:32 +0100	[thread overview]
Message-ID: <20170821180832.23356-12-mail@cbaines.net> (raw)
In-Reply-To: <20170821180832.23356-1-mail@cbaines.net>

* gnu/packages/web.scm (ikiwiki): New variable.
---
 gnu/packages/web.scm | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 73 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 70c6828d2..67a793849 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -75,9 +75,12 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages javascript)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages markdown)
+  #:use-module (gnu packages markup)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages base)
   #:use-module (gnu packages perl)
@@ -91,7 +94,8 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages statistics))
+  #:use-module (gnu packages statistics)
+  #:use-module (gnu packages version-control))
 
 (define-public httpd
   (package
@@ -3948,6 +3952,74 @@ parse both valid and invalid web content.  It is developed as part of the
 NetSurf project.")
     (license l:expat)))
 
+(define-public ikiwiki
+  (package
+    (name "ikiwiki")
+    (version "3.20170111")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://snapshot.debian.org/archive/debian/"
+                           "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
+                           version ".tar.xz"))
+       (sha256
+        (base32
+         "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
+    (build-system perl-build-system)
+    (arguments
+     `(;; Image tests fail
+       ;;
+       ;; Test Summary Report
+       ;; -------------------
+       ;; t/img.t                      (Wstat: 2304 Tests: 62 Failed: 9)
+       ;;   Failed tests:  21, 27-28, 30-35
+       ;;   Non-zero exit status: 9
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-programs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (bin  (string-append out "/bin/"))
+                    (path (getenv "PERL5LIB")))
+               (for-each (lambda (file)
+                           (wrap-program file
+                             `("PERL5LIB" ":" prefix (,path))))
+                         (find-files bin))
+               #t))))))
+    (native-inputs
+     `(("which" ,which)
+       ("perl-html-tagset" ,perl-html-tagset)
+       ("perl-timedate" ,perl-timedate)
+       ("perl-xml-sax" ,perl-xml-sax)
+       ("perl-xml-simple" ,perl-xml-simple)
+       ("gettext" ,gettext-minimal)
+       ("subversion" ,subversion)
+       ("git" ,git)
+       ("bazaar" ,bazaar)
+       ("cvs" ,cvs)
+       ("mercurial" ,mercurial)))
+    (inputs
+     `(("python" ,python-wrapper)
+       ("perl-cgi-session" ,perl-cgi-session)
+       ("perl-cgi-simple" ,perl-cgi-simple)
+       ("perl-json" ,perl-json)
+       ("perl-image-magick" ,perl-image-magick)
+       ("perl-uri" ,perl-uri)
+       ("perl-html-parser" ,perl-html-parser)
+       ("perl-uri" ,perl-uri)
+       ("perl-text-markdown-discount" ,perl-text-markdown-discount)
+       ("perl-html-scrubber" ,perl-html-scrubber)
+       ("perl-html-template" ,perl-html-template)
+       ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
+    (home-page "https://ikiwiki.info/")
+    (synopsis "wiki compiler, capable of generating HTML")
+    (description
+     "Ikiwiki is a wiki compiler, capable of generating a static set of web
+pages, but also incorperating dynamic features like a web based editor and
+commenting.")
+    (license l:gpl2+)))
+
 (define-public libwapcaplet
   (package
     (name "libwapcaplet")
-- 
2.14.1

  parent reply	other threads:[~2017-08-21 18:09 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 18:04 [bug#28177] [PATCH] Add ikiwiki and dependencies Christopher Baines
2017-08-21 18:08 ` [bug#28177] [PATCH 01/12] gnu: Add discount Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 02/12] gnu: Add perl-text-markdown-discount Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 03/12] gnu: Add perl-test-cpan-meta-json Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 04/12] gnu: Add perl-test-cpan-meta Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 05/12] gnu: Add perl-devel-cycle Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 06/12] gnu: Add perl-test-memory-cycle Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 07/12] gnu: Add perl-test-notabs Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 08/12] gnu: Add perl-test-eol Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 09/12] gnu: Add perl-html-scrubber Christopher Baines
2017-09-10 13:25     ` Ludovic Courtès
2017-09-12 21:36       ` Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 10/12] gnu: Add perl-yaml-libyaml Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 11/12] gnu: Add perl-cgi-session Christopher Baines
2017-08-21 18:08   ` Christopher Baines [this message]
2017-09-10 13:27     ` [bug#28177] [PATCH 12/12] gnu: Add ikiwiki Ludovic Courtès
2017-09-12 21:38       ` Christopher Baines
2017-09-10 13:23   ` [bug#28177] [PATCH 01/12] gnu: Add discount Ludovic Courtès
2017-09-12 20:57     ` Christopher Baines
2017-09-12 21:38 ` Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 02/12] gnu: Add perl-text-markdown-discount Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 03/12] gnu: Add perl-test-cpan-meta-json Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 04/12] gnu: Add perl-test-cpan-meta Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 05/12] gnu: Add perl-devel-cycle Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 06/12] gnu: Add perl-test-memory-cycle Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 07/12] gnu: Add perl-test-notabs Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 08/12] gnu: Add perl-test-eol Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 09/12] gnu: Add perl-html-scrubber Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 10/12] gnu: Add perl-yaml-libyaml Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 11/12] gnu: Add perl-cgi-session Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 12/12] gnu: Add ikiwiki Christopher Baines
2017-09-13  8:17   ` [bug#28177] [PATCH 01/12] gnu: Add discount Ludovic Courtès
2017-09-13 17:21     ` bug#28177: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170821180832.23356-12-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=28177@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).