aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 12:57:24 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 12:57:24 +0100
commitfb1136ff4b8947e4e24cfd14aef6b63ae879f5a0 (patch)
treedab3091e70593a776f3e00f26fb32bcf47d0c4d6 /gnu/packages
parent45a8acd0f290291aae0b345662438ad98df17917 (diff)
downloadguix-fb1136ff4b8947e4e24cfd14aef6b63ae879f5a0.tar.gz
guix-fb1136ff4b8947e4e24cfd14aef6b63ae879f5a0.zip
gnu: Add rust-serde-bencode.
* gnu/packages/crates-io.scm (rust-serde-bencode-0.2): New variable. Change-Id: Iab4aaf5de84a03ca97e77f5b4826adfab579d913
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fbb57bb4d..2e7a7bea64 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73672,6 +73672,28 @@ Rust's serde.")
("rust-indoc" ,rust-indoc-1)
("rust-serde-derive" ,rust-serde-derive-1))))))
+(define-public rust-serde-bencode-0.2
+ (package
+ (name "rust-serde-bencode")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde_bencode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gj17p1w5hyi69fngv55dai4nb4fmdij76gqwyb9if9qfixzq3d7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11))))
+ (home-page "https://github.com/toby/serde-bencode")
+ (synopsis "Serde backed Bencode encoding/decoding library for Rust.")
+ (description
+ "This package provides a Serde backed Bencode encoding/decoding library for Rust.")
+ (license license:expat)))
+
(define-public rust-serde-wasm-bindgen-0.3
(package
(name "rust-serde-wasm-bindgen")