GNU bug report logs -
#77743
[PATCH] gnu: astronomy: Add sunwait 0.9.1.
Previous Next
Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>
Date: Fri, 11 Apr 2025 14:26:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#77743: [PATCH] gnu: astronomy: Add sunwait 0.9.1.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 77743 <at> debbugs.gnu.org.
--
77743: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77743
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi,
I've applied adjustment to git commit message and to package description:
--8<---------------cut here---------------start------------->8---
modified gnu/packages/astronomy.scm
@@ -8330,19 +8330,34 @@ (define-public sunwait
(build-system gnu-build-system)
(arguments
(list
- #:tests? #f
+ #:tests? #f ; no tests provided
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target)))
#:phases
#~(modify-phases %standard-phases
- (delete 'configure)
+ (delete 'configure) ; no configure script is provided
(replace 'install
(lambda _
(install-file "sunwait"
(string-append #$output "/bin")))))))
(home-page "https://github.com/risacher/sunwait")
- (synopsis "Sunwait calculates sunrise or sunset times.")
- (description "Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights.")
+ (synopsis "Sunrise and sunset times calculation")
+ (description
+ "Sunwait calculates sunrise or sunset times with civil, nautical,
+astronomical and custom twilights. The sun's position is calculated using
+time, and position - latitude and longitude should be specified on the command
+line.
+
+Features:
+
+@itemize
+@item calculates sunrise and sunset for given coordinates
+@item can wait for sunrise/sunset, or return DAY or NIGHT codes
+@item works with Windows Task Scheduler (or cron)
+@item supports custom twilight angles
+@item used to automate domestic lighting with Arduino transmitter and radio
+controlled sockets
+@end itemize")
(license license:gpl3)))
--8<---------------cut here---------------end--------------->8---
Pushed to master as 33fdb25fac453d1239739b9d5e239f1140b16532.
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dfe1a7d6aa..ad43b40ebc 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -8313,6 +8313,38 @@ (define-public sunclock
Moon position, etc.")
(license license:gpl2+))))
+(define-public sunwait
+ (package
+ (name "sunwait")
+ (version "0.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/risacher/sunwait")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0mzc8bb7zzl1ch3v7w08vw2v50yjxvr7phyb78njpq89wy6hsrxz"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda _
+ (install-file "sunwait"
+ (string-append #$output "/bin")))))))
+ (home-page "https://github.com/risacher/sunwait")
+ (synopsis "Sunwait calculates sunrise or sunset times.")
+ (description "Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights.")
+ (license license:gpl3)))
+
(define-public swarp
(package
(name "swarp")
--
2.49.0
This bug report was last modified 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.