diff mbox series

[bug#51861,v2,1/3] gnu: Add cl-periodic-table.

Message ID PU1PR01MB215535866EA05475CF0B1C4C8D989@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
State New
Headers show
Series [bug#51861,v2,1/3] gnu: Add cl-periodic-table. | expand

Commit Message

Foo Chuan Wei Nov. 15, 2021, 8:18 a.m. UTC
* gnu/packages/lisp-xyz.scm (cl-periodic-table, ecl-periodic-table,
  cl-periodic-table): New variables.
---
Changes relative to PATCH v1:
* Use HTTPS to download source tarball.

 gnu/packages/lisp-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


base-commit: da2ee1b13591438847b85baca8070bb2285ac411
diff mbox series

Patch

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 778b48995d..b239ee1302 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18679,6 +18679,34 @@  terminals.")
 (define-public ecl-clinenoise
   (sbcl-package->ecl-package sbcl-clinenoise))
 
+(define-public sbcl-periodic-table
+  (package
+    (name "sbcl-periodic-table")
+    (version "1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://common-lisp.net/project/chemboy/periodic-table-"
+              version ".tar.gz"))
+        (sha256
+         (base32
+          "1ircvqm3q93ma4rxbxprb1i9rcax10ld6xmdzdhfnigr27sh5jvg"))))
+    (build-system asdf-build-system/sbcl)
+    (home-page "https://common-lisp.net/project/chemboy/")
+    (synopsis "Periodic table for Common Lisp")
+    (description
+     "This package defines a Common Lisp package, @code{:elements}, with an
+@code{ELEMENT} structure and a number of functions to search the periodic
+table.")
+    (license license:llgpl)))
+
+(define-public cl-periodic-table
+  (sbcl-package->cl-source-package sbcl-periodic-table))
+
+(define-public ecl-periodic-table
+  (sbcl-package->ecl-package sbcl-periodic-table))
+
 (define-public sbcl-cl-pass
   (let ((commit "e58e97c0c0588dc742c061208afb9bc31e4dbd34")
         (revision "1"))