From a89dfa659797c137a304921016b0975a9af8d3d7 Mon Sep 17 00:00:00 2001 From: phodina Date: Sat, 4 Sep 2021 07:08:37 +0000 Subject: gnu: Add rust-fragile-1. * gnu/packages/crates-io.scm (rust-fragile-1): New variable. (rust-fragile-0.3): Inherit from above. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cfdab81ec3..20ef86aff5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17364,8 +17364,28 @@ implementation that is more efficient for smaller hash keys.") syntax, as used by HTML forms.") (license (list license:expat license:asl2.0)))) +(define-public rust-fragile-1 + (package + (name "rust-fragile") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fragile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wlihmkjyhvl5rckal32p010piy1l15s6l81h7z31jcd971kk839")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/mitsuhiko/rust-fragile") + (synopsis "Wrapper types for sending non-send values to other threads") + (description "This package provides wrapper types for sending non-send +values to other threads.") + (license license:asl2.0))) + (define-public rust-fragile-0.3 (package + (inherit rust-fragile-1) (name "rust-fragile") (version "0.3.0") (source @@ -17376,13 +17396,7 @@ syntax, as used by HTML forms.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05")))) - (build-system cargo-build-system) - (home-page "https://github.com/mitsuhiko/rust-fragile") - (synopsis "Wrapper types for sending non-send values to other threads") - (description "This package provides wrapper types for sending non-send -values to other threads.") - (license license:asl2.0))) + "1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05")))))) (define-public rust-freetype-0.4 (package -- cgit v1.2.3