summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2021-04-26 17:45:20 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2021-04-26 17:45:20 +0200
commit7a6e603a4314a78c6a8675342c630d81f3b0ede6 (patch)
treefe22e0631ba1d92b599c7c4844a4fd4ec424f433 /gnu
parent331c498835e65b196cdc4171fcdd5f949fb42f90 (diff)
gnu: Add dufy.
* gnu/packages/lisp-xyz.scm (cl-dufy, ecl-dufy, sbcl-dufy): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e16193de83..1ee712e37f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16248,3 +16248,39 @@ in Common Lisp.")
(define-public cl-lispbuilder-sdl
(sbcl-package->cl-source-package sbcl-lispbuilder-sdl))
+
+(define-public sbcl-dufy
+ (package
+ (name "sbcl-dufy")
+ (version "0.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/privet-kitty/dufy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15vrp1kayhjb5c1vc9x8wlm8rimk73vpa7yc101cf0gsg1fjazl6"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("ppcre" ,sbcl-cl-ppcre)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)
+ ("cl-csv" ,sbcl-cl-csv)
+ ("parse-float" ,sbcl-parse-float)
+ ("lispbuilder-sdl" ,sbcl-lispbuilder-sdl)
+ ("lparallel" ,sbcl-lparallel)))
+ (home-page "https://github.com/privet-kitty/dufy")
+ (synopsis "Color library for Common Lisp")
+ (description
+ "Dufy is a library for exact color manipulation and conversion in various
+color spaces, which supports many color models.")
+ (license license:expat)))
+
+(define-public ecl-dufy
+ (sbcl-package->ecl-package sbcl-dufy))
+
+(define-public cl-dufy
+ (sbcl-package->cl-source-package sbcl-dufy))