~ruther/guix-local

0f698c5f07037ccac73e5e1f82e3ba03e0082d07 — Sharlatan Hellseher 3 months ago 06af246
gnu: date2name: Move to calendar.

* gnu/packages/python-xyz.scm (date2name): Move from here ...
* gnu/packages/calendar.scm: ... to here.

Change-Id: I7d49a5fdf611940adb70ad960da8a05b420e37fe
2 files changed, 28 insertions(+), 27 deletions(-)

M gnu/packages/calendar.scm
M gnu/packages/python-xyz.scm
M gnu/packages/calendar.scm => gnu/packages/calendar.scm +28 -0
@@ 10,6 10,7 @@
;;; Copyright © 2020 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Peng Mei Yu <pengmeiyu@riseup.net>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2025 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>


@@ 105,6 106,33 @@ https://www.agendadulibre.org are in French and the adl-submit tool is only
available in French.")
      (license license:gpl2))))

(define-public date2name
  (let ((commit "50cc8d3957fc0bdc26c65042ab8f0d9f05610283")
        (revision "2"))
    (package
      (name "date2name")
      (version (git-version "0.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/novoid/date2name")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "16m24dvyg93rpa94401cladjvj5pk3ds5y6sbz54xygdpg9qf8qm"))))
      (build-system pyproject-build-system)
      (native-inputs
       (list python-poetry-core
             python-pytest))
      (home-page "https://github.com/novoid/date2name")
      (synopsis "Handling time-stamps and date-stamps in file names")
      (description
       "By default, date2name gets the modification time of matching files and
directories and adds a datestamp in standard ISO 8601+ format YYYY-MM-DD at
the beginning of the file or directory name.")
      (license license:gpl3+))))

(define-public date
  (package
    (name "date")

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -27
@@ 33373,33 33373,6 @@ key-value pairs from a @code{.env} file and set them as environment variables.")
       (append python-mock)
       (replace "python-sh" python-sh-1)))))

(define-public date2name
  (let ((commit "50cc8d3957fc0bdc26c65042ab8f0d9f05610283")
        (revision "2"))
    (package
      (name "date2name")
      (version (git-version "0.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/novoid/date2name")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "16m24dvyg93rpa94401cladjvj5pk3ds5y6sbz54xygdpg9qf8qm"))))
      (build-system pyproject-build-system)
      (native-inputs
       (list python-poetry-core
             python-pytest))
      (synopsis "Handling time-stamps and date-stamps in file names")
      (description
       "By default, date2name gets the modification time of matching files and
directories and adds a datestamp in standard ISO 8601+ format YYYY-MM-DD at
the beginning of the file or directory name.")
      (home-page "https://github.com/novoid/date2name")
      (license license:gpl3+))))

(define-public python-braintree
  (package
    (name "python-braintree")