From 58ec99dc4884f2cd76adb456768348a234aad6a3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:57:56 +0300 Subject: [PATCH] gnu: Add rust-serde-transcode-1. * gnu/packages/crates-io.scm (rust-serde-transcode-1): New variable. Change-Id: I1ab1fc1bbd88d91d0c049b0662d01e37e54d31af --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bafe517be3..cd9dcbc4ea 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67802,6 +67802,27 @@ (define-public rust-serde-test-0.8 ((", path = \"../serde\"") "")) #t))))))) +(define-public rust-serde-transcode-1 + (package + (name "rust-serde-transcode") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-transcode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qlh34kw4knbs83xy6x0wwbb71pbiivcw6swpy2nxfx5q8jhw32r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/sfackler/serde-transcode") + (synopsis "Transcode from one Serde format to another") + (description "This package provides functions to transcode from one Serde +format to another.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-untagged-0.1 (package (name "rust-serde-untagged")