summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 09:56:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:04 +0300
commitd176d82d9e889cddd9bbedd52b6400b845784741 (patch)
tree13bc6481d0da9aed0b5b2e98a6d53230b298cc64
parent073e20ef20108b7fa0e76b4855866a87f5ba8134 (diff)
downloadguix-d176d82d9e889cddd9bbedd52b6400b845784741.tar.gz
gnu: rust-sourcemap-6: Update to 6.4.1.
* gnu/packages/crates-io.scm (rust-sourcemap-6): Update to 6.4.1.
[source]: Remove snippet.
[arguments]: Add cargo-test-flags. Remove custom phases.
[cargo-inputs]: Add rust-data-encoding-2, rust-debugid-0.8,
rust-rustc-version-0.2, rust-unicode-id-0.3.  Remove rust-lazy-static-1,
rust-regex-1.
[cargo-development-inputs]: Add rust-magic-string-0.3, rust-proptest-1.
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 12 insertions, 22 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaf75a13b9..9f1918f86a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64953,42 +64953,32 @@ maximal amount of configuration possible intended.")
 (define-public rust-sourcemap-6
   (package
     (name "rust-sourcemap")
-    (version "6.0.1")
+    (version "6.4.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "sourcemap" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1sv1rxc6d2rfvd5xrqzqq0i2y0z1q7sqj3wm9krxbggcccj1y0vf"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; Enable unstable features
-           (substitute* "src/lib.rs"
-             (("//! This library" all)
-              (string-append "#![feature(inner_deref)]" "\n" all)))
-           #t))))
+        (base32 "145xyp6qaai2gd5p92bkg7yzrm4n5mqx1y111vsnqmywlxfgdjz4"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-base64" ,rust-base64-0.11)
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=types::tests::test_adjust_mappings_injection")
+       #:cargo-inputs
+       (("rust-data-encoding" ,rust-data-encoding-2)
+        ("rust-debugid" ,rust-debugid-0.8)
         ("rust-if-chain" ,rust-if-chain-1)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-regex" ,rust-regex-1)
+        ("rust-rustc-version" ,rust-rustc-version-0.2)
         ("rust-scroll" ,rust-scroll-0.10)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-unicode-id" ,rust-unicode-id-0.3)
         ("rust-url" ,rust-url-2))
        #:cargo-development-inputs
-       (("rust-rustc-version" ,rust-rustc-version-0.2))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'enable-unstable-features
-           (lambda _
-             (setenv "RUSTC_BOOTSTRAP" "1")
-             #t)))))
+       (("rust-magic-string" ,rust-magic-string-0.3)
+        ("rust-proptest" ,rust-proptest-1))))
     (home-page "https://github.com/getsentry/rust-sourcemap")
     (synopsis "Basic sourcemap handling for Rust")
     (description "This package provides basic sourcemap handling for Rust.")