summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-02-02 14:51:12 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-02-02 15:31:01 +0100
commitd5f63a73d79707f6c3ec3b23c9f9590b9e59d613 (patch)
tree6d5c0ee1d4682f0918344aa52338373e7ddffbc7 /gnu
parente9a36a74f355701f7b24a8cef9e70e47db68b5ea (diff)
downloadguix-d5f63a73d79707f6c3ec3b23c9f9590b9e59d613.tar.gz
gnu: Add cl-jpeg.
* gnu/packages/lisp-xyz.scm (sbcl-cl-jpeg, cl-jpeg, ecl-cl-jpeg): New
  variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index bc4c2ce6f1..0af055e694 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9961,3 +9961,32 @@ the library does not depend on X11).
 
 (define-public ecl-cl-colors2
   (sbcl-package->ecl-package sbcl-cl-colors2))
+
+(define-public sbcl-cl-jpeg
+  (let ((commit "ec557038128df6895fbfb743bfe8faf8ec2534af")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-jpeg")
+      (version (git-version "2.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sharplispers/cl-jpeg.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1bkkiqz8fqldlj1wbmrccjsvxcwj98h6s4b6gslr3cg2wmdv5xmy"))))
+      (build-system asdf-build-system/sbcl)
+      (synopsis "JPEG image library for Common Lisp")
+      (description
+       "This is a baseline JPEG codec written in Common Lisp.  It can be used
+for reading and writing JPEG image files.")
+      (home-page "https://github.com/sharplispers/cl-jpeg")
+      (license license:bsd-3))))
+
+(define-public cl-jpeg
+  (sbcl-package->cl-source-package sbcl-cl-jpeg))
+
+(define-public ecl-cl-jpeg
+  (sbcl-package->ecl-package sbcl-cl-jpeg))