summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2023-07-28 13:02:58 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2023-08-02 13:41:40 +0200
commit7ff1b0a37c07419229870c1cf796b8378e8510c4 (patch)
tree465e44dc0bd7439a40b79fb3f37a18ad29aa4cfe
parent5aceacac65784bd2e1fd12304f965ae6026de49d (diff)
downloadguix-7ff1b0a37c07419229870c1cf796b8378e8510c4.tar.gz
gnu: Add cl-transmission.
* gnu/packages/lisp-xyz.scm (cl-transmission, ecl-transmission,
sbcl-transmission): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 05a9e8878c..d2596ebc2d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16929,6 +16929,41 @@ from Common Lisp.  It provides a progress bar.")
 (define-public ecl-trivial-download
   (sbcl-package->ecl-package sbcl-trivial-download))
 
+(define-public sbcl-transmission
+  (let ((commit "4bbf1d2761bfa5dfa79b7bc12c3238089b994d95"))
+    (package
+      (name "sbcl-transmission")
+      (version (git-version "0.1" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/libre-man/cl-transmission/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0sg3f2jqs2z3mvscjhc43hkd34vlcc4c8hq8rhh5w1gjg19z57hb"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       '(#:asd-systems '("cl-transmission")))
+      (inputs
+       (list sbcl-cl-ppcre sbcl-jonathan sbcl-named-readtables sbcl-rutils
+             sbcl-drakma))
+      (native-inputs
+       (list sbcl-prove))
+      (home-page "https://github.com/libre-man/cl-transmission/")
+      (synopsis "Common Lisp interface with Transmission using its RPC")
+      (description
+       "@code{cl-transmission} is a library to interface with the Transmission
+torrent client using its RPC (remote procedure call).")
+      (license license:expat))))
+
+(define-public cl-transmission
+  (sbcl-package->cl-source-package sbcl-transmission))
+
+(define-public ecl-transmission
+  (sbcl-package->ecl-package sbcl-transmission))
+
 (define-public sbcl-gtwiwtg
   (package
     (name "sbcl-gtwiwtg")