From adc30867e26117cfd869f87dbb405bbfc4c654b6 Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Sun, 18 Feb 2024 22:08:48 +0100 Subject: [PATCH] gnu: Add rust-platforms-3. * gnu/packages/crates-io.scm (rust-platforms-3): Add variable. Change-Id: I2a3e388381d88b1ac1554d62338dac0255dd2381 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0d0ecedfee..f720af7027 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50832,6 +50832,28 @@ (define-public rust-platform-info-2 a system.") (license license:expat))) +(define-public rust-platforms-3 + (package + (name "rust-platforms") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "platforms" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k7q6pigmnvgpfasvssb12m2pv3pc94zrhrfg9by3h3wmhyfqvb2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://rustsec.org") + (synopsis "Registry of valid Rust platforms from the Rust compiler") + (description + "This package provides a Rust platform registry with information +about valid Rust platforms (target triple, target_arch, target_os), +sourced from the Rust compiler.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pledge-0.4 (package (name "rust-pledge")