guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.


From: guix-commits
Subject: 02/05: gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.
Date: Wed, 30 Sep 2020 02:33:50 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 51b46fa28cd31cf1cc973ef6ccd05fbef3c4b39d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Sep 29 14:47:43 2020 +0300

    gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.
    
    * gnu/packages/crates-io.scm (rust-once-cell-1.2): Remove variable.
    (rust-arc-swap-0.4, rust-duct-0.13): Adjust accordingly.
    * gnu/packages/gnome.scm (librsvg-next): Same.
---
 gnu/packages/crates-io.scm | 29 +++--------------------------
 gnu/packages/gnome.scm     |  2 +-
 2 files changed, 4 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a723341..5811093 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -703,7 +703,7 @@ text or blue underlined text, on ANSI terminals.")
         ("rust-itertools" ,rust-itertools-0.8)
         ("rust-model" ,rust-model-0.1)
         ("rust-num-cpus" ,rust-num-cpus-1)
-        ("rust-once-cell" ,rust-once-cell-1.2)
+        ("rust-once-cell" ,rust-once-cell-1)
         ("rust-proptest" ,rust-proptest-0.8)
         ("rust-version-sync" ,rust-version-sync-0.8))))
     (home-page "https://github.com/vorner/arc-swap";)
@@ -6391,7 +6391,7 @@ floating-point primitives to an @code{io::Write}.")
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-once-cell" ,rust-once-cell-1.2)
+        ("rust-once-cell" ,rust-once-cell-1)
         ("rust-os-pipe" ,rust-os-pipe-0.8)
         ("rust-shared-child" ,rust-shared-child-0.3))
        #:cargo-development-inputs
@@ -16137,32 +16137,9 @@ You probably don't want to link to this crate 
directly; instead check out the
      "Single assignment cells and lazy values.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-once-cell-1.2
-  (package
-    (inherit rust-once-cell-1)
-    (name "rust-once-cell")
-    (version "1.2.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "once-cell" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1vdz8xlg3r05w3wfjimnc347hgm54i5nrqf72r4mlp0fcdplh7w9"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-parking-lot" ,rust-parking-lot-0.9))
-       #:cargo-development-inputs
-       (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-regex" ,rust-regex-1))))))
-
 (define-public rust-once-cell-0.1
   (package
-    (inherit rust-once-cell-1.2)
+    (inherit rust-once-cell-1)
     (name "rust-once-cell")
     (version "0.1.8")
     (source
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0da85fd..77ed667 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3208,7 +3208,7 @@ library.")
         ("rust-markup5ever" ,rust-markup5ever-0.10)
         ("rust-nalgebra" ,rust-nalgebra-0.19)
         ("rust-num-traits" ,rust-num-traits-0.2)
-        ("rust-once-cell" ,rust-once-cell-1.2)
+        ("rust-once-cell" ,rust-once-cell-1)
         ("rust-pkg-config" ,rust-pkg-config-0.3)
         ("rust-pango" ,rust-pango-0.8)
         ("rust-pango-sys" ,rust-pango-sys-0.9)



reply via email to

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