[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/16: gnu: Add staticsite.
From: |
guix-commits |
Subject: |
16/16: gnu: Add staticsite. |
Date: |
Thu, 23 Feb 2023 09:28:25 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 8b654bf159ccd1bd55ca794fc26dcec34e69f803
Author: Vagrant Cascadian <vagrant@debian.org>
AuthorDate: Thu Jan 26 15:43:17 2023 -0800
gnu: Add staticsite.
* gnu/packages/python-xyz.scm (staticsite): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1b120399a7..55f8fd3166 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31769,6 +31769,52 @@ shared objects, and lift them up to the executable
referenced by absolute
path.")
(license license:expat)))
+(define-public staticsite
+ (package
+ (name "staticsite")
+ (version "2.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spanezz/staticsite")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rhr25xydvnlrrcz389j3f6nknmczm5x11cagrji1qww70piwy08"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'use-themes-in-output
+ (lambda _
+ (substitute* "staticsite/global_settings.py"
+ (("/usr/share/staticsite") #$output))))
+ (add-after 'install 'install-themes
+ (lambda _
+ (let ((themedir (string-append #$output "/themes")))
+ (copy-recursively "themes" themedir)))))))
+ (native-inputs
+ (list perl-image-exiftool
+ python-dateutil
+ python-docutils
+ python-jinja2
+ python-markdown
+ python-pillow
+ python-pyinotify
+ python-pytz
+ python-pyyaml
+ python-ruamel.yaml
+ python-slugify
+ python-tornado
+ tzdata-for-tests))
+ (home-page "https://github.com/spanezz/staticsite")
+ (synopsis "Static site generator")
+ (description "Statistic is a static site generator based on Markdown and
+Jinja2.")
+ (license (list license:gpl3+ license:expat))))
+
(define-public python-pymonad
(package
(name "python-pymonad")
- 08/16: gnu: Add texlive-fvextra., (continued)
- 08/16: gnu: Add texlive-fvextra., guix-commits, 2023/02/23
- 11/16: gnu: Add emacs-calc-currency., guix-commits, 2023/02/23
- 13/16: gnu: Add emacs-ob-go., guix-commits, 2023/02/23
- 05/16: gnu: texlive-latex-ifplatform: Add needed propagated-inputs., guix-commits, 2023/02/23
- 06/16: gnu: texlive-mdframed: Add needed propagated-inputs., guix-commits, 2023/02/23
- 09/16: gnu: Add texlive-minted., guix-commits, 2023/02/23
- 10/16: gnu: Add emacs-jsdoc., guix-commits, 2023/02/23
- 12/16: gnu: Add emacs-org-recur., guix-commits, 2023/02/23
- 14/16: gnu: mpdris2: Remove input labels and add inputs., guix-commits, 2023/02/23
- 15/16: gnu: Add x11-ssh-askpass., guix-commits, 2023/02/23
- 16/16: gnu: Add staticsite.,
guix-commits <=