From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 52966@debbugs.gnu.org
Subject: [bug#52966] [PATCH 6/6] gnu: Add nikola.
Date: Sun, 2 Jan 2022 23:00:43 +0100 [thread overview]
Message-ID: <2c252ec0c5f63c949a739403f8dab21be1af1a9a.1641160577.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <05cc89ec4c7cb0eda6945690544469f519811ecf.1641160577.git.h.goebel@crazy-compilers.com>
* gnu/packages/python-xyz.scm (nikola): New variable.
---
gnu/packages/python-xyz.scm | 55 +++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ede70c5fb9..70de72425d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27983,3 +27983,58 @@ meta-data to:
(description
"This package provides a port of the serialize and unserialize functions of PHP for Python")
(license license:bsd-3)))
+
+(define-public nikola
+ (package
+ (name "nikola")
+ (version "8.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Nikola" version))
+ (sha256
+ (base32 "1vspzvi4039zgjc93bspqjb384r6c9ksvmidbp8csws2pdbc7sh5"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-babel
+ python-blinker
+ python-dateutil
+ python-docutils
+ python-doit
+ python-jinja2 ;; for themes
+ python-lxml
+ python-mako
+ python-markdown
+ python-natsort
+ python-notebook ;; for ipynb
+ python-phpserialize ;; for wordpress import
+ python-piexif
+ python-pillow
+ python-pygments
+ python-pyrss2gen
+ python-requests
+ python-ruamel.yaml ;; for YAML metadata
+ python-unidecode
+ python-yapsy))
+ (native-inputs
+ (list python-coverage
+ python-flake8
+ python-freezegun
+ python-pytest
+ python-pytest-cov))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;;(add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests" "--no-cov"
+ "-k" "not test_compiling_markdown[hilite]")))))))
+ (home-page "https://getnikola.com/")
+ (synopsis "Modular, fast and simple static website and blog generator")
+ (description "@code{Nikola} generated static websites and blogs. Out of the
+box, it supports reStructuredText, Markdown, IPython (Jupyter) Notebooks and
+HTML, and has plugins for many other formats.")
+ (license license:expat)))
--
2.30.2
next prev parent reply other threads:[~2022-01-02 22:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-02 21:59 [bug#52966] [PATCH 1/6] gnu: Add python-piexif Hartmut Goebel
2022-01-02 22:00 ` [bug#52966] [PATCH 2/6] gnu: Add python-pyrss2gen Hartmut Goebel
2022-01-02 22:00 ` [bug#52966] [PATCH 3/6] gnu: Add python-yapsy Hartmut Goebel
2022-01-02 22:00 ` [bug#52966] [PATCH 4/6] gnu: Add python-doit Hartmut Goebel
2022-01-02 22:00 ` [bug#52966] [PATCH 5/6] gnu: Add python-phpserialize Hartmut Goebel
2022-01-02 22:00 ` Hartmut Goebel [this message]
2022-01-08 22:01 ` [bug#52966] [PATCH 1/6] gnu: Add python-piexif Ludovic Courtès
2022-01-15 20:37 ` bug#52966: " Hartmut Goebel
2022-01-08 22:02 ` [bug#52966] " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c252ec0c5f63c949a739403f8dab21be1af1a9a.1641160577.git.h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=52966@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.