summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-12-01 11:30:28 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-12-01 11:52:35 +0100
commitdeed01616934377745969b5ec87f1620f892b35c (patch)
tree0bbcc2296030b430de2e692e2e96142fbafadc52
parent291328b19ec27d4bb6d497c510bf366175093fba (diff)
gnu: Add maidenhead.
* gnu/packages/lisp-xyz.scm (cl-maidenhead, ecl-maidenhead, sbcl-maidenhead): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index dc1055a9cc..e1251b3d46 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11809,3 +11809,35 @@ latitude/longitude and MGRS.")
(define-public ecl-mgrs
(sbcl-package->ecl-package sbcl-mgrs))
+
+(define-public sbcl-maidenhead
+ (let ((commit "b756d235c27b5d6798867aa240318af1a8f35d6d")
+ (revision "0"))
+ (package
+ (name "sbcl-maidenhead")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/glv2/maidenhead")
+ (commit commit)))
+ (file-name (git-file-name "maidenhead" version))
+ (sha256
+ (base32 "02p990zprhjvifmsfk8yh3frvz6xyw26ikzxvzglqdixbal36nr3"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (synopsis
+ "Convert coordinates between latitude/longitude and Maidenhead")
+ (description
+ "This a Common Lisp library to convert geographic coordinates between
+latitude/longitude and Maidenhead locator system.")
+ (home-page "https://github.com/glv2/maidenhead")
+ (license license:gpl3+))))
+
+(define-public cl-maidenhead
+ (sbcl-package->cl-source-package sbcl-maidenhead))
+
+(define-public ecl-maidenhead
+ (sbcl-package->ecl-package sbcl-maidenhead))