From 8b456024658ab03201a49a2b362299ef0cd646d1 Mon Sep 17 00:00:00 2001 From: Arjan Adriaanse Date: Sat, 4 Mar 2023 15:06:33 +0100 Subject: gnu: Add rust-basic-toml-0.1. * gnu/packages/crates-io.scm (rust-basic-toml-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3547d67fac..7ea36baf33 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6240,6 +6240,32 @@ portable \"best effort\" constant-time operation and embedded-friendly (description "This library provides for encoding and decoding any base.") (license license:expat))) +(define-public rust-basic-toml-0.1 + (package + (name "rust-basic-toml") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "basic-toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d2h378373x0i8j4mi4sfaq8np9hf5xqr2rh9pa7r5irfxk9p09f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/dtolnay/basic-toml") + (synopsis "Minimal TOML library with few dependencies") + (description "This package provides minimal TOML library with few +dependencies.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bat-0.18 (package (name "bat") -- cgit 1.4.1