From 4eb65912825450157943d70c12fef11f9955641d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=96R=C3=96SK=C5=90I=20Andr=C3=A1s?= Date: Sat, 24 Feb 2024 21:39:28 +0100 Subject: [PATCH] gnu: Add rust-varbincode-0.1. * gnu/packages/crates-io.scm (rust-varbincode-0.1): New variable. Change-Id: I067935391fdb5f094cecf30909fcc3e56435dfaf Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c5ad1c03a1..c4de3f74f2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -83073,6 +83073,30 @@ (define-public rust-value-trait-0.8 (description "This package provides traits to deal with JSONesque values.") (license (list license:asl2.0 license:expat)))) +(define-public rust-varbincode-0.1 + (package + (name "rust-varbincode") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "varbincode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17vgwalm7a1lryjj565p4rnx5h3hr8vwm5504r92s7j41f8gl4mp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-leb128" ,rust-leb128-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/wez/varbincode") + (synopsis "Binary encoder and decoder with variable length integer") + (description + "This package provides a binary encoder / decoder with variable length +integer encoding implementation in Rust.") + (license license:expat))) + (define-public rust-vcpkg-0.2 (package (name "rust-vcpkg")