aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-12-01 11:34:38 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-12-01 11:52:35 +0100
commitad884c3b887d660711821d9e831fd8e2cecea8b2 (patch)
tree5e6f2eed19eb24fa69183b9808a5aa3857c2d422 /gnu/packages
parentdeed01616934377745969b5ec87f1620f892b35c (diff)
downloadguix-ad884c3b887d660711821d9e831fd8e2cecea8b2.tar.gz
guix-ad884c3b887d660711821d9e831fd8e2cecea8b2.zip
gnu: Add olc.
* gnu/packages/lisp-xyz.scm (cl-olc, ecl-olc, sbcl-olc): New variables.
Diffstat (limited to 'gnu/packages')
-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 e1251b3d46..0e71fd00f1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11841,3 +11841,35 @@ latitude/longitude and Maidenhead locator system.")
(define-public ecl-maidenhead
(sbcl-package->ecl-package sbcl-maidenhead))
+
+(define-public sbcl-olc
+ (let ((commit "517e27fa57d9a119b00a29c4b6b31e553deff309")
+ (revision "0"))
+ (package
+ (name "sbcl-olc")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/glv2/olc")
+ (commit commit)))
+ (file-name (git-file-name "olc" version))
+ (sha256
+ (base32 "1lnfhp6z6kc8l605zp4siyjiw74y1h4bdq3jfizi084v505wxhgr"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (synopsis
+ "Convert coordinates between latitude/longitude and Open Location Code")
+ (description
+ "This a Common Lisp library to convert geographic coordinates between
+latitude/longitude and Open Location Code.")
+ (home-page "https://github.com/glv2/olc")
+ (license license:gpl3+))))
+
+(define-public cl-olc
+ (sbcl-package->cl-source-package sbcl-olc))
+
+(define-public ecl-olc
+ (sbcl-package->ecl-package sbcl-olc))