diff options
author | Artyom Bologov <mail@aartaka.me> | 2022-09-14 18:07:07 +0400 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-09-15 10:35:57 +0200 |
commit | 0624e7dbad2f53b7f752e9f1109765470f369298 (patch) | |
tree | b1f3d3eda977e3b4e9c28bfb2c6191b98cc4b86c /gnu | |
parent | 170a3962404a9c0499c065d1c3fd9532f56e17b8 (diff) | |
download | guix-0624e7dbad2f53b7f752e9f1109765470f369298.tar.gz guix-0624e7dbad2f53b7f752e9f1109765470f369298.zip |
gnu: Add cl-nactivitypub.
* gnu/packages/lisp-xyz.scm (cl-nactivitypub, ecl-nactivitypub,
sbcl-nactivitypub): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 31ed40e03a..bb1cfc329d 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -22172,6 +22172,58 @@ mimicking Lisp ones, while using truth values of JSON-decoded data. (define-public ecl-njson (sbcl-package->ecl-package sbcl-njson)) +(define-public sbcl-nactivitypub + (package + (name "sbcl-nactivitypub") + (version "0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atlas-engineer/nactivitypub") + (commit version))) + (file-name (git-file-name "cl-nactivitypub" version)) + (sha256 + (base32 + "07n8a9cfzc96kwsb6z4v5ns09ad2qyq45bjb779azcs7ds144a6r")))) + (build-system asdf-build-system/sbcl) + (inputs (list sbcl-cl-str + sbcl-dexador + sbcl-local-time + sbcl-lparallel + sbcl-njson + sbcl-quri + sbcl-serapeum)) + (home-page "https://github.com/atlas-engineer/nactivitypub") + (synopsis + "Common Lisp implementation of ActivityPub and ActivityStreams standards") + (description + "This package provides a Common Lisp implementation of ActivityPub and +ActivityStreams standards for social networking. + +Features: +@itemize + +@item Parsing and un-parsing ActivityStreams JSON-LD objects to/from CLOS +objects with convenient accessors on those. + +@item Sending and fetching ActivityStreams objects to/from the +ActivityStreams-enabled HTTP(S) URLs. + +@item Semantic info extraction with methods like @code{name*}, @code{url*}, +@code{author*}, and @code{published*}. + +@item No reliance on JSON parser. @code{njson} is used for parser-independent +JSON handling. Load the parser backend you prefer! + +@end itemize") + (license license:bsd-3))) + +(define-public cl-nactivitypub + (sbcl-package->cl-source-package sbcl-nactivitypub)) + +(define-public ecl-nactivitypub + (sbcl-package->ecl-package sbcl-nactivitypub)) + (define-public sbcl-utils-kt (let ((commit "4adfe2889036ab5ffdd3cc2182ca2cc692bf11ff")) (package |