summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-09-01 16:20:17 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2020-09-01 16:53:28 +0200
commit56aeb1a40aaafb20d1e09359ed813b3ea8c4d9c7 (patch)
treed9fb37376f6db2b5763279ec2a50e93ea44a5313
parent69006b0c909eab362854673adc982db976126f69 (diff)
downloadguix-56aeb1a40aaafb20d1e09359ed813b3ea8c4d9c7.tar.gz
gnu: Add do-urlencode.
* gnu/packages/lisp-xyz.scm (cl-do-urlencode, ecl-do-urlencode,
sbcl-do-urlencode): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 8f8862ec7d..ee2e95bc65 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13810,3 +13810,34 @@ camelCase, snake_case, kebab-case (lisp-case).")
 
 (define-public ecl-datafly
   (sbcl-package->ecl-package sbcl-datafly))
+
+(define-public sbcl-do-urlencode
+  (let ((commit "199846441dad5dfac5478b8dee4b4e20d107af6a")
+        (revision "1"))
+    (package
+      (name "sbcl-do-urlencode")
+      (version (git-version "0.0.0" revision commit))
+      (home-page "https://github.com/drdo/do-urlencode")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0k2i3d4k9cpci235mwfm0c5a4yqfkijr716bjv7cdlpzx88lazm9"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("babel" ,sbcl-babel)))
+      (synopsis "Percent Encoding (aka URL Encoding) Common Lisp library")
+      (description "This library provides trivial percent encoding and
+decoding functions for URLs.")
+      (license license:isc))))
+
+(define-public cl-do-urlencode
+  (sbcl-package->cl-source-package sbcl-do-urlencode))
+
+(define-public ecl-do-urlencode
+  (sbcl-package->ecl-package sbcl-do-urlencode))