[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
184/189: gnu: Add rust-sourcemap-6.
From: |
guix-commits |
Subject: |
184/189: gnu: Add rust-sourcemap-6. |
Date: |
Mon, 21 Sep 2020 06:02:01 -0400 (EDT) |
arunisaac pushed a commit to branch wip-swc
in repository guix.
commit a0c2f5e673c0a7389b74ac83ec5208f06bb0c4b3
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 21 11:33:00 2020 +0530
gnu: Add rust-sourcemap-6.
* gnu/packages/crates-io.scm (rust-sourcemap-6): New variable.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1d59616..90a3097 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27417,6 +27417,50 @@ track of where each new file and line starts.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-sourcemap-6
+ (package
+ (name "rust-sourcemap")
+ (version "6.0.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))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.11)
+ ("rust-if-chain" ,rust-if-chain-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-scroll" ,rust-scroll-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("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)))))
+ (home-page "https://github.com/getsentry/rust-sourcemap")
+ (synopsis "Basic sourcemap handling for Rust")
+ (description "This package provides basic sourcemap handling for Rust.")
+ (license license:bsd-3)))
+
(define-public rust-speculate-0.1
(package
(name "rust-speculate")
- 165/189: gnu: Add rust-libflate-1., (continued)
- 165/189: gnu: Add rust-libflate-1., guix-commits, 2020/09/21
- 173/189: gnu: Add rust-hyper-tls-0.4., guix-commits, 2020/09/21
- 169/189: gnu: Add rust-napi-derive-0.5., guix-commits, 2020/09/21
- 161/189: gnu: Add rust-diesel-1., guix-commits, 2020/09/21
- 179/189: gnu: Add rust-napi-build-0.2., guix-commits, 2020/09/21
- 187/189: gnu: Add rust-st-map-0.1., guix-commits, 2020/09/21
- 162/189: gnu: Add rust-semver-0.10., guix-commits, 2020/09/21
- 177/189: gnu: rust-syn-1: Update to 1.0.40., guix-commits, 2020/09/21
- 185/189: gnu: Add rust-fluid-attributes-0.4., guix-commits, 2020/09/21
- 178/189: gnu: Add rust-napi-sys-0.4., guix-commits, 2020/09/21
- 184/189: gnu: Add rust-sourcemap-6.,
guix-commits <=
- 167/189: gnu: Add rust-relative-path-1., guix-commits, 2020/09/21
- 133/189: gnu: Add rust-security-framework-1., guix-commits, 2020/09/21
- 139/189: gnu: Add rust-libmimalloc-sys-0.1., guix-commits, 2020/09/21
- 140/189: gnu: Add rust-mimalloc-0.1., guix-commits, 2020/09/21
- 157/189: gnu: Add rust-diesel-derives-1.4., guix-commits, 2020/09/21
- 23/189: gnu: rust-seahash-3.0: Remove minor version from variable name., guix-commits, 2020/09/21
- 52/189: gnu: Add rust-lock-api-0.4., guix-commits, 2020/09/21
- 71/189: gnu: Add rust-globwalk-0.8., guix-commits, 2020/09/21
- 78/189: gnu: Add rust-insta-0.16., guix-commits, 2020/09/21
- 80/189: gnu: Add rust-stream-cipher-0.4., guix-commits, 2020/09/21