gnu: Add rust-platforms-2.

* gnu/packages/crates-io.scm (rust-platforms): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Petr Hodina 2022-02-05 12:13:25 +01:00 committed by Nicolas Goaziou
parent 10d707111b
commit 506eae0229
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -19,7 +19,7 @@
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com> ;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz> ;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz>
;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
@ -42056,6 +42056,29 @@ (define-public rust-plain-0.2
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-platforms-2
(package
(name "rust-platforms")
(version "2.0.0")
(source (origin
(method url-fetch)
(uri (crate-uri "platforms" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"152cnf65zzr6vj5xyap1aqp6ajmfqdhlij2x1lx02hhjazryxl78"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-serde" ,rust-serde-1))))
(home-page "https://rustsec.org")
(synopsis "Query information about valid Rust platforms")
(description
"This package provides information about valid Rust platforms (target
triple, target_arch, target_os) sourced from Rust Forge.")
(license (list license:asl2.0 license:expat))))
(define-public rust-plist-1 (define-public rust-plist-1
(package (package
(name "rust-plist") (name "rust-plist")