~ruther/guix-local

d198ad8b2ca7905f2565c9af486bad9f372dc855 — Sharlatan Hellseher 6 months ago b5e728c
gnu: staticsite: Sort variable.

* gnu/packages/python-xyz.scm (staticsite): Sort variable
alphabetically.

Change-Id: I1b20a7c2e86c75e9aad3c2483e98bafc9dd3112f
1 files changed, 48 insertions(+), 48 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +48 -48
@@ 36217,54 36217,6 @@ shared objects, and lift them up to the executable referenced by absolute
path.")
    (license license:expat)))

(define-public staticsite
  (package
    (name "staticsite")
    (version "2.5")
    (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
                "0fk0yy0flwwfqwb4gsizr7gnkadas4rjffn3mnzlwmkn08z3w0c7"))))
    (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 python-hatchling
           python-pytest))
    (inputs
     (list perl-image-exiftool
           python-dateutil
           python-docutils
           python-jinja2
           python-markdown
           python-pillow
           python-pytz
           python-pyyaml
           python-ruamel.yaml
           python-slugify
           python-toml
           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")


@@ 40953,6 40905,54 @@ you do not want to store entirely on disk or on memory.")
                         (package-arguments python-pycparser)))))))
    (package-with-python2 base)))

(define-public staticsite
  (package
    (name "staticsite")
    (version "2.5")
    (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 "0fk0yy0flwwfqwb4gsizr7gnkadas4rjffn3mnzlwmkn08z3w0c7"))))
    (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 python-hatchling
           python-pytest))
    (inputs
     (list perl-image-exiftool
           python-dateutil
           python-docutils
           python-jinja2
           python-markdown
           python-pillow
           python-pytz
           python-pyyaml
           python-ruamel.yaml
           python-slugify
           python-toml
           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))))

;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar