guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0f698c5f07037ccac73e5e1f82e3ba03e0082d07
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Nov 24 20:19:39 2025 +0000

    gnu: date2name: Move to calendar.
    
    * gnu/packages/python-xyz.scm (date2name): Move from here ...
    * gnu/packages/calendar.scm: ... to here.
    
    Change-Id: I7d49a5fdf611940adb70ad960da8a05b420e37fe
---
 gnu/packages/calendar.scm   | 28 ++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm | 27 ---------------------------
 2 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index bf275c6ae7..d3ab2e8780 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Brendan Tildesley <[email protected]>
 ;;; Copyright © 2020 Tanguy Le Carrour <[email protected]>
 ;;; Copyright © 2020 Peng Mei Yu <[email protected]>
+;;; Copyright © 2021 Petr Hodina <[email protected]>
 ;;; Copyright © 2021 Wamm K. D. <[email protected]>
 ;;; Copyright © 2022 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2025 Denis 'GNUtoo' Carikli <[email protected]>
@@ -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")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d779850a08..440efbbec0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")

Reply via email to