guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise.


From: Felix Lechner
Subject: [bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise.
Date: Sun, 20 Nov 2022 05:47:58 -0800

* gnu/packages/golang.scm
  (go-github-com-nathan-osman-go-sunrise): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b3df51ed5f..e697cd4af6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2485,6 +2485,33 @@ (define-public go-gopkg-in-go-playground-validator-v9
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-nathan-osman-go-sunrise
+  (let ((commit "c8f9f1eb869135f07378e7e3c5ec7a005f806c73")
+        (revision "0"))
+    (package
+      (name "go-github-com-nathan-osman-go-sunrise")
+      (version (git-version "1.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/nathan-osman/go-sunrise";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "017zwzx05r5spxcs07dp6bnh7waknzsd819k7aqd8kr819v3x9in"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/nathan-osman/go-sunrise"))
+      (home-page "https://github.com/nathan-osman/go-sunrise";)
+      (synopsis "Calculates the sunrise and sunset times for a given location")
+      (description
+       "To calculate the sunrise and sunset times, you will need the date of 
your
+observation and the geographical coordinates in latitude and longitude for the
+location.")
+      (license license:expat))))
+
 (define-public go-github-com-aws-sdk
   (package
     (name "go-github-com-aws-sdk")

base-commit: ac09fcb955e9358c330d728693759ca1a2e20542
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]