guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

206/330: gnu: Add rust-fragile-2.


From: guix-commits
Subject: 206/330: gnu: Add rust-fragile-2.
Date: Mon, 18 Mar 2024 07:16:13 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3ada2cf7fbbfd5feca199c188e2cb46a97258b85
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 17 12:29:10 2024 +0200

    gnu: Add rust-fragile-2.
    
    * gnu/packages/crates-io.scm (rust-fragile-2): New variable.
    (rust-fragile-1): Inherit from rust-fragile-2.
    
    Change-Id: I9ebdd331f2890d02b7af0e19edd9797f098e6bce
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49941daa4b..06562d6871 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25592,25 +25592,40 @@ the controling terminal (daemon) using the fork and 
setsid syscalls.")
 syntax, as used by HTML forms.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-fragile-1
+(define-public rust-fragile-2
   (package
     (name "rust-fragile")
-    (version "1.0.0")
+    (version "2.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "fragile" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1wlihmkjyhvl5rckal32p010piy1l15s6l81h7z31jcd971kk839"))))
+        (base32 "1ajfdnwdn921bhjlzyvsqvdgci8ab40ln6w9ly422lf8svb428bc"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
-    (home-page "https://github.com/mitsuhiko/rust-fragile";)
+    (arguments
+     `(#:cargo-inputs (("rust-slab" ,rust-slab-0.4))))
+    (home-page "https://github.com/mitsuhiko/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-1
+  (package
+    (inherit rust-fragile-2)
+    (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"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-freetype-0.7
   (package
     (name "rust-freetype")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]