[PATCH 00/49] Towards deno.

  • Open
  • quality assurance status badge
Details
5 participants
  • Daniel Meißner
  • Danny Milosavljevic
  • Lars-Dominik Braun
  • Nicolas Goaziou
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:10
(address . guix-patches@gnu.org)
20210422121024.40c393f6@scratchpost.org
This patchset prepares to add deno.

Danny Milosavljevic (49):
gnu: rust-byteorder: Update to 1.4.3.
gnu: rust-futures: Update to 0.3.14.
gnu: rust-futures-channel: Update to 0.3.14.
gnu: rust-futures-core: Update to 0.3.14.
gnu: rust-futures-executor: Update to 0.3.14.
gnu: rust-futures-io: Update to 0.3.14.
gnu: rust-futures-macro: Update to 0.3.14.
gnu: rust-futures-sink: Update to 0.3.14.
gnu: rust-futures-task: Update to 0.3.14.
gnu: rust-futures-util: Update to 0.3.14.
gnu: rust-serde: Update to 1.0.125.
gnu: rust-serde-derive: Update to 1.0.125.
gnu: rust-serde-json: Update to 1.0.64.
gnu: Add rust-swc-visit-macros-0.2.
gnu: Add rust-swc-visit-0.2.
gnu: Add rust-swc-eq-ignore-macros-0.1.
gnu: Add rust-from-variant-0.1.
gnu: Add rust-swc-macros-common-0.3.
gnu: Add rust-ast-node-0.7.
gnu: Add rust-swc-common-0.10.
gnu: Add rust-swc-ecma-transforms-typescript-0.14.
gnu: Add rust-swc-ecma-transforms-react-0.14.
gnu: Add rust-swc-ecma-loader-0.4.
gnu: Add rust-swc-ecma-transforms-proposal-0.13.
gnu: Add rust-swc-ecma-transforms-optimization-0.15.
gnu: Add rust-swc-ecma-transforms-module-0.13.
gnu: Add rust-swc-ecma-transforms-macros-0.2.
gnu: Add rust-ordered-float-2.
gnu: Add rust-swc-ecma-transforms-compat-0.13.
gnu: Add rust-swc-ecma-utils-0.34.
gnu: Add rust-swc-ecma-transforms-base-0.12.
gnu: Add rust-swc-ecma-transforms-0.45.
gnu: Add rust-swc-ecma-dep-graph-0.22.
gnu: Add rust-swc-ecma-visit-0.29.
gnu: Add rust-enum-kind-0.2.
gnu: Add rust-swc-ecma-parser-0.54.
gnu: Add rust-swc-ecma-codegen-macros-0.5.
gnu: Add rust-swc-ecma-codegen-0.52.
gnu: Add rust-swc-atoms-0.2.
gnu: Add rust-string-enum-0.3.
gnu: Add rust-swc-ecma-ast-0.43.
gnu: Add rust-swc-ecmascript-0.31.
gnu: Add rust-rand-xorshift-0.3.
gnu: Add rust-quick-error-2.
gnu: Add rust-proptest-1.
gnu: Add rust-generator-0.7.
gnu: Add rust-loom-0.5.
gnu: Add rust-tokio-1.5.
gnu: Add rust-deno-doc-0.3.

gnu/packages/crates-io.scm | 1293 +++++++++++++++++++++++++++++++++++-
1 file changed, 1267 insertions(+), 26 deletions(-)

--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:16
[PATCH 01/49] gnu: rust-byteorder: Update to 1.4.3.
(address . 47948@debbugs.gnu.org)
20210422121642.3b83cf93@scratchpost.org
* gnu/packages/crates-io.scm (rust-byteorder-1): Update to 1.4.3.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 678fa6f93c..24628a8b07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5830,14 +5830,14 @@ in a byte slice, fast.")
(define-public rust-byteorder-1
(package
(name "rust-byteorder")
- (version "1.4.2")
+ (version "1.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "byteorder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0srh0h0594jmsnbvm7n0g8xabhla8lwb3gn8s0fzd7d1snix2i5f"))))
+ (base32 "0456lv9xi1a5bcm32arknf33ikv76p3fr9yzki4lb2897p2qkh8l"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 02/49] gnu: rust-futures: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-2-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 24628a8b07..eed1e78771 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15023,7 +15023,7 @@ stabilized, and eventually removed. This library reïnstates these traits.")
(define-public rust-futures-0.3
(package
(name "rust-futures")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15032,7 +15032,7 @@ stabilized, and eventually removed. This library reïnstates these traits.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0l7i1hcag46k5v34cbn5dk45gwxn5yy5rxcvmbaxhi02lnhm546s"))))
+ "0lyjglxqdm91wdy646x9qrys9wfpk9g93ydzl4yasng48lsq3md9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 01/49] gnu: rust-byteorder: Update to 1.4.3.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-1-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-byteorder-1): Update to 1.4.3.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 678fa6f93c..24628a8b07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5830,14 +5830,14 @@ in a byte slice, fast.")
(define-public rust-byteorder-1
(package
(name "rust-byteorder")
- (version "1.4.2")
+ (version "1.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "byteorder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0srh0h0594jmsnbvm7n0g8xabhla8lwb3gn8s0fzd7d1snix2i5f"))))
+ (base32 "0456lv9xi1a5bcm32arknf33ikv76p3fr9yzki4lb2897p2qkh8l"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 03/49] gnu: rust-futures-channel: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-3-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-channel-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eed1e78771..6fe2e555e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15075,7 +15075,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(define-public rust-futures-channel-0.3
(package
(name "rust-futures-channel")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15084,7 +15084,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ihq3a3yc6ial3sw536q75hrhixq22xk6wn5qzpnxazgqxz1plzj"))))
+ "09gc57djz490yljh3ihvgxfwx3v81v7y0q9h06k3g4995ajwcyff"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 05/49] gnu: rust-futures-executor: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-5-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-executor-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3e3848452..0e15c4d08d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15223,7 +15223,7 @@ the computation on the threads themselves.")
(define-public rust-futures-executor-0.3
(package
(name "rust-futures-executor")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15232,7 +15232,7 @@ the computation on the threads themselves.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1ffr1zclhz60ql49n2pj44jhhk22yah41xwlpyb30jws03f9zrg9"))))
+ "17acz5vpbgg850wfn1z5gscl4d5rlh50ilmi9400z87d89qcpxhh"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 04/49] gnu: rust-futures-core: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-4-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-core-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fe2e555e8..c3e3848452 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15156,7 +15156,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(define-public rust-futures-core-0.3
(package
(name "rust-futures-core")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15165,7 +15165,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0r8ag0mkxx9cd74yrccjk31lph4gr6lhgb9di6rx39wdvrfi9rbr"))))
+ "058qmyvpvhzkw9aykm6ls20k3dsy4jaafdqs1xjh3jm6vp3d3309"))))
(build-system cargo-build-system)
(arguments '(#:skip-build? #t))
(home-page "https://rust-lang.github.io/futures-rs")
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 06/49] gnu: rust-futures-io: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-6-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-io-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e15c4d08d..4e185cd77e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15308,7 +15308,7 @@ intrusive collections.")
(define-public rust-futures-io-0.3
(package
(name "rust-futures-io")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15317,7 +15317,7 @@ intrusive collections.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0005hz30pdxlbdamhd0imixmxcjpwrfxxr27kljxh6i84lshbgi8"))))
+ "016b6pfcsaavwcpx22psh6n36s13ymc23nqghcxc188fncgilnin"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://rust-lang.github.io/futures-rs")
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 07/49] gnu: rust-futures-macro: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-7-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-macro-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e185cd77e..0a62a322e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15430,14 +15430,14 @@ and removes almost all unsafe code from it.")
(define-public rust-futures-macro-0.3
(package
(name "rust-futures-macro")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "futures-macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1pgyb219ybh3fj3ig0h1c2b7k4cqldy95ifdpnd9yb9jvmdd51y2"))))
+ (base32 "12xvq5rsgi6jyynbxkrvbf1j620jy8xvmrqx9zmpvkc2l4rng336"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 10/49] gnu: rust-futures-util: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-10-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-util-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f5683411f6..62e3419af5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15686,7 +15686,7 @@ timeouts and delays with futures.")
(define-public rust-futures-util-0.3
(package
(name "rust-futures-util")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15694,7 +15694,7 @@ timeouts and delays with futures.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0jv25s07igmqavigdfzr02yw6j1q0vg8pw2p2vmgvcx4yb88qak3"))))
+ (base32 "09f0x4nisa9m9rgdcnh09yv7h4i7whbdidm6y0kkkwk09pall51w"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 11/49] gnu: rust-serde: Update to 1.0.125.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-11-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-serde-1): Update to 1.0.125.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62e3419af5..644b1deb9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36627,7 +36627,7 @@ rules are rather complex. This crate implements the whole grammar." )
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.123")
+ (version "1.0.125")
(source
(origin
(method url-fetch)
@@ -36635,7 +36635,7 @@ rules are rather complex. This crate implements the whole grammar." )
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1bk9733mgiv5sg8yb19y8mc85fb2aaqp1k02v10alavj688idmcj"))))
+ "0w8i0f4wsq4zd9vz1k6lq00066rjrgzlxkm25h8sfpss387cb3am"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 13/49] gnu: rust-serde-json: Update to 1.0.64.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-13-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-serde-json-1): Update to 1.0.64.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bc39d7bb90..25e6f5ca3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37057,14 +37057,14 @@ TOML/JSON/MessagePack strings and serializable values.")
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.61")
+ (version "1.0.64")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0nijvxvgcncvd1wbn73zx7q14bdxah0gf2789qd8kdjpa1cv5kjg"))))
+ (base32 "0y9gk3yikncrc0zajmwc0pidr7zfwafawb4gidf6mqyskzf9g7kr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 08/49] gnu: rust-futures-sink: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-8-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-sink-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0a62a322e9..a25f4ae570 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15517,7 +15517,7 @@ different @code{Future}s at once and handling the first one to complete.")
(define-public rust-futures-sink-0.3
(package
(name "rust-futures-sink")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
@@ -15526,7 +15526,7 @@ different @code{Future}s at once and handling the first one to complete.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1mj22d4w6digh7wfp6jkr5fdcl9r138q41fxzm1yg8mx568cdxfa"))))
+ "08vc88majhvizpxpr44h0c240k2ag7is99v153cf6pam7i1jjmjw"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://rust-lang.github.io/futures-rs")
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 15/49] gnu: Add rust-swc-visit.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-15-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-visit-0.2): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48e6a82653..686fe41dbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50310,3 +50310,31 @@ configuration file and/or environment variables.")
(description
"Visitor generator for stable rustc")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-visit-0.2
+ (package
+ (name "rust-swc-visit")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_visit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17m31k7vyn82rm42bdq3nhv5jjzkh60vh24kalc12bh0ys1zwg2q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1)
+ ("rust-swc-visit-macros"
+ ,rust-swc-visit-macros-0.2))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Visitor generator for stable rustc")
+ (description
+ "Visitor generator for stable rustc")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 14/49] gnu: Add rust-swc-visit-macros.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-14-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-visit-macros-0.2): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 25e6f5ca3d..48e6a82653 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50278,3 +50278,35 @@ configuration file and/or environment variables.")
(description
"Generate Rust register maps (`struct`s) from SVD files")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-swc-visit-macros-0.2
+ (package
+ (name "rust-swc-visit-macros")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_visit_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1w21frfma1rz111mf9yvj6wjz1kskkkm1rp8cq0hvwbrxrgq5cp3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-inflector" ,rust-inflector-0.11)
+ ("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Visitor generator for stable rustc")
+ (description
+ "Visitor generator for stable rustc")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 16/49] gnu: Add rust-swc-eq-ignore-macros.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-16-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-eq-ignore-macros-0.1): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 686fe41dbf..0255b85a4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50338,3 +50338,32 @@ configuration file and/or environment variables.")
(description
"Visitor generator for stable rustc")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-eq-ignore-macros-0.1
+ (package
+ (name "rust-swc-eq-ignore-macros")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_eq_ignore_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0plgi4sw7jykf8jzd9bxw6ljzm76csmgm1d6q7kkindf5q5213wc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Macros for EqIgnoreSpan and TypeEq.")
+ (description
+ "Macros for EqIgnoreSpan and TypeEq.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 17/49] gnu: Add rust-from-variant.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-17-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-from-variant-0.1): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0255b85a4d..eda844fed5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50367,3 +50367,34 @@ configuration file and/or environment variables.")
(description
"Macros for EqIgnoreSpan and TypeEq.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-from-variant-0.1
+ (package
+ (name "rust-from-variant")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "from_variant" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gf6gh6b9b01f7j0gwv3km1k6lily3banx47izlpniya4x866l89"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Automatically derive From impls for enums")
+ (description
+ "Automatically derive From impls for enums")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 18/49] gnu: Add rust-swc-macros-common.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-18-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-macros-common-0.3): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eda844fed5..fd5ea77b0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50398,3 +50398,31 @@ configuration file and/or environment variables.")
(description
"Automatically derive From impls for enums")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-macros-common-0.3
+ (package
+ (name "rust-swc-macros-common")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_macros_common" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y4syp526i14jcwy3gwlbl707xlnlb9hzjb2zrql06js1y9jxv88"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Common utilities for swc macros.")
+ (description "Common utilities for swc macros.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 19/49] gnu: Add rust-ast-node.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-19-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-ast-node-0.7): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd5ea77b0d..c215b6560a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50426,3 +50426,34 @@ configuration file and/or environment variables.")
(synopsis "Common utilities for swc macros.")
(description "Common utilities for swc macros.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-ast-node-0.7
+ (package
+ (name "rust-ast-node")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ast_node" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mgp1gq2an9fjrp7ipdlbldiph1psxv0aax941khwgdciz754gzr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-darling" ,rust-darling-0.10)
+ ("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Macros for ast nodes.")
+ (description "Macros for ast nodes.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 09/49] gnu: rust-futures-task: Update to 0.3.14.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-9-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-futures-task-0.3): Update to 0.3.14.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a25f4ae570..f5683411f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15562,14 +15562,14 @@ futures-rs library.")
(define-public rust-futures-task-0.3
(package
(name "rust-futures-task")
- (version "0.3.12")
+ (version "0.3.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "futures-task" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11ldlpl7mis5crys731dj7s7npgigdgrzdm7mi2y86m8ivmhgphk"))))
+ (base32 "1g41ymlqvfjm7l1x4w2xamgwcpnh9gvh5xx1v6k3nvq7jl8aayms"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 20/49] gnu: Add rust-swc-common.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-20-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-common-0.10): New variable.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c215b6560a..348a64696b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50457,3 +50457,51 @@ configuration file and/or environment variables.")
(synopsis "Macros for ast nodes.")
(description "Macros for ast nodes.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-common-0.10
+ (package
+ (name "rust-swc-common")
+ (version "0.10.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_common" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z3zj62cy08459n3csb4cs3ybc0awrnr2sb1l31jsvpgmqhhaxh7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-0.4)
+ ("rust-ast-node" ,rust-ast-node-0.7)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-either" ,rust-either-1)
+ ("rust-from-variant" ,rust-from-variant-0.1)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-owning-ref" ,rust-owning-ref-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.7)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-sourcemap" ,rust-sourcemap-6)
+ ("rust-string-cache" ,rust-string-cache-0.8)
+ ("rust-swc-eq-ignore-macros"
+ ,rust-swc-eq-ignore-macros-0.1)
+ ("rust-swc-visit" ,rust-swc-visit-0.2)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-rayon" ,rust-rayon-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Common utilities for the swc project.")
+ (description
+ "Common utilities for the swc project.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 21/49] gnu: Add rust-swc-ecma-transforms-typescript.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-21-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-typescript-0.14): New variable.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 348a64696b..ba331c7785 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50505,3 +50505,42 @@ configuration file and/or environment variables.")
(description
"Common utilities for the swc project.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-typescript-0.14
+ (package
+ (name "rust-swc-ecma-transforms-typescript")
+ (version "0.14.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri
+ "swc_ecma_transforms_typescript"
+ version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1sq5w1v3igl8sq5m41fdshrv44xkkikyj8jjyywjv90pcqslma4c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 22/49] gnu: Add rust-swc-ecma-transforms-react.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-22-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-react-0.14): New variable.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba331c7785..0ca118e2a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50544,3 +50544,46 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-react-0.14
+ (package
+ (name "rust-swc-ecma-transforms-react")
+ (version "0.14.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms_react" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rp01nws4rfwn7a2yjqdqkpfqgbvf4a4cpvhx8k1w7qaj27gsg6s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-dashmap" ,rust-dashmap-4)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-string-enum" ,rust-string-enum-0.3)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 23/49] gnu: Add rust-swc-ecma-loader.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-23-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-loader-0.4): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ca118e2a9..e28e0b6463 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50587,3 +50587,33 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-loader-0.4
+ (package
+ (name "rust-swc-ecma-loader")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_loader" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09vni7wp95gx3j6rbcyinsvj37chzq7f7sh3d47ifpk6d1gyl67j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "General ecmascript loader used for transforms")
+ (description
+ "General ecmascript loader used for transforms")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 12/49] gnu: rust-serde-derive: Update to 1.0.125.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-12-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-serde-derive-1): Update to 1.0.125.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 644b1deb9d..bc39d7bb90 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37003,7 +37003,7 @@ TOML/JSON/MessagePack strings and serializable values.")
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.123")
+ (version "1.0.125")
(source
(origin
(method url-fetch)
@@ -37011,7 +37011,7 @@ TOML/JSON/MessagePack strings and serializable values.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0ccg4m7ww6mfs5vjdbdifri2kf1wyd4difjnqnraph2gssaw54ck"))))
+ "0vfhndim4sa1i1x38dyvrxyq5v8zxjs0av05ldfkn82qpfibg4xh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 24/49] gnu: Add rust-swc-ecma-transforms-proposal.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-24-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-proposal-0.13): New variable.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e28e0b6463..419d3d11c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50617,3 +50617,46 @@ configuration file and/or environment variables.")
(description
"General ecmascript loader used for transforms")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-proposal-0.13
+ (package
+ (name "rust-swc-ecma-transforms-proposal")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri
+ "swc_ecma_transforms_proposal"
+ version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0h7zxpkcgi5aqv4q7zy4jx00wdx7lfrg69rvr0w987l5rdi61jh4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-loader"
+ ,rust-swc-ecma-loader-0.4)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 25/49] gnu: Add rust-swc-ecma-transforms-optimization.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-25-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-optimization-0.15): New variable.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 419d3d11c8..2eb39b4458 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50660,3 +50660,47 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-optimization-0.15
+ (package
+ (name "rust-swc-ecma-transforms-optimization")
+ (version "0.15.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri
+ "swc_ecma_transforms_optimization"
+ version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gfxh99168j0wbd3qzig7yf82s37xycv85pa6x9hk11y40ipc61z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-dashmap" ,rust-dashmap-4)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 27/49] gnu: Add rust-swc-ecma-transforms-macros.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-27-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-macros-0.2): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b393c2cfc..5fec99f142 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50743,3 +50743,33 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-macros-0.2
+ (package
+ (name "rust-swc-ecma-transforms-macros")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1g00m07nyfyc3iik0g2h1dqnc5d3zd78cciz9hbc48psc7d0ls7p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Macros for swc_ecma_transforms.")
+ (description "Macros for swc_ecma_transforms.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 26/49] gnu: Add rust-swc-ecma-transforms-module.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-26-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-module-0.13): New variable.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2eb39b4458..7b393c2cfc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50704,3 +50704,42 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-module-0.13
+ (package
+ (name "rust-swc-ecma-transforms-module")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms_module" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zjzrp0lhh76km8m0qdy6svdrrhwx988pmyv6wnhxw3shc2gqvr0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-inflector" ,rust-inflector-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 28/49] gnu: Add rust-ordered-float.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-28-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-ordered-float-2): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fec99f142..a9b240dc2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50773,3 +50773,31 @@ configuration file and/or environment variables.")
(synopsis "Macros for swc_ecma_transforms.")
(description "Macros for swc_ecma_transforms.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-ordered-float-2
+ (package
+ (name "rust-ordered-float")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-float" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page
+ "https://github.com/reem/rust-ordered-float")
+ (synopsis
+ "Wrappers for total ordering on floats")
+ (description
+ "Wrappers for total ordering on floats")
+ (license license:expat)))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 29/49] gnu: Add rust-swc-ecma-transforms-compat.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-29-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-compat-0.13): New variable.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a9b240dc2a..41fb61669b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50801,3 +50801,46 @@ configuration file and/or environment variables.")
(description
"Wrappers for total ordering on floats")
(license license:expat)))
+
+(define-public rust-swc-ecma-transforms-compat-0.13
+ (package
+ (name "rust-swc-ecma-transforms-compat")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms_compat" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c8crqm6ybi28sjjipajfxmvc143dz112j4ip3kilxv5xl6rj2n6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-is-macro" ,rust-is-macro-0.1)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-ordered-float" ,rust-ordered-float-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-transforms-macros"
+ ,rust-swc-ecma-transforms-macros-0.2)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 34/49] gnu: Add rust-swc-ecma-visit.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-34-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-visit-0.29): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce52d72617..4de9bc7d3c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50992,3 +50992,34 @@ configuration file and/or environment variables.")
(description
"Dependency graph for the ecmascript")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-visit-0.29
+ (package
+ (name "rust-swc-ecma-visit")
+ (version "0.29.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_visit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zkdf68z1rl2z5s428c12fydkcsih9nzbhckc4s0fdd3jhxlmrc1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-visit" ,rust-swc-visit-0.2))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Visitors for swc ecmascript nodes which works on stable rustc")
+ (description
+ "Visitors for swc ecmascript nodes which works on stable rustc")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 35/49] gnu: Add rust-enum-kind.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-35-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-enum-kind-0.2): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4de9bc7d3c..bbb70df870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51023,3 +51023,34 @@ configuration file and/or environment variables.")
(description
"Visitors for swc ecmascript nodes which works on stable rustc")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-enum-kind-0.2
+ (package
+ (name "rust-enum-kind")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum_kind" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16gd5cb29lgv3n4nr5fkj7qg9f07h91alpkcjbq1xs2a6pd41fbq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Easily manage values related to enum.")
+ (description
+ "Easily manage values related to enum.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 36/49] gnu: Add rust-swc-ecma-parser.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-36-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-parser-0.54): New variable.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bbb70df870..6a714cc265 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51054,3 +51054,39 @@ configuration file and/or environment variables.")
(description
"Easily manage values related to enum.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-parser-0.54
+ (package
+ (name "rust-swc-ecma-parser")
+ (version "0.54.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_parser" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ziwl0wx56f9xmibfdns0jd9p8q0p9mi3xzxdli2j05ki8m7897x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1)
+ ("rust-enum-kind" ,rust-enum-kind-0.2)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Feature-complete es2019 parser.")
+ (description "Feature-complete es2019 parser.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 30/49] gnu: Add rust-swc-ecma-utils.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-30-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-utils-0.34): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 41fb61669b..be62ea5689 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50844,3 +50844,36 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-utils-0.34
+ (package
+ (name "rust-swc-ecma-utils")
+ (version "0.34.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_utils" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0v522h8digar5c16gd4dgn07lz9sa1c0gr8llf2i9bqwj6xhjss7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Utilities for swc ecmascript ast nodes")
+ (description
+ "Utilities for swc ecmascript ast nodes")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 31/49] gnu: Add rust-swc-ecma-transforms-base.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-31-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-base-0.12): New variable.
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be62ea5689..448883bde8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50877,3 +50877,41 @@ configuration file and/or environment variables.")
(description
"Utilities for swc ecmascript ast nodes")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-base-0.12
+ (package
+ (name "rust-swc-ecma-transforms-base")
+ (version "0.12.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms_base" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z7sibjiysfci3yd2jz5djc4s3xg3m1ayljy7aksn9h139ccw1yz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-phf" ,rust-phf-0.8)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 32/49] gnu: Add rust-swc-ecma-transforms.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-32-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-0.45): New variable.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 448883bde8..53d6e33453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50915,3 +50915,51 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-0.45
+ (package
+ (name "rust-swc-ecma-transforms")
+ (version "0.45.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_transforms" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ylhbnzg3sfbah0v67ghyp4b1x0lqq9hr16ivy2b10v5iic5xa7f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms-base"
+ ,rust-swc-ecma-transforms-base-0.12)
+ ("rust-swc-ecma-transforms-compat"
+ ,rust-swc-ecma-transforms-compat-0.13)
+ ("rust-swc-ecma-transforms-module"
+ ,rust-swc-ecma-transforms-module-0.13)
+ ("rust-swc-ecma-transforms-optimization"
+ ,rust-swc-ecma-transforms-optimization-0.15)
+ ("rust-swc-ecma-transforms-proposal"
+ ,rust-swc-ecma-transforms-proposal-0.13)
+ ("rust-swc-ecma-transforms-react"
+ ,rust-swc-ecma-transforms-react-0.14)
+ ("rust-swc-ecma-transforms-typescript"
+ ,rust-swc-ecma-transforms-typescript-0.14)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "rust port of babel and closure compiler.")
+ (description
+ "rust port of babel and closure compiler.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 33/49] gnu: Add rust-swc-ecma-dep-graph.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-33-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-dep-graph-0.22): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53d6e33453..ce52d72617 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50963,3 +50963,32 @@ configuration file and/or environment variables.")
(description
"rust port of babel and closure compiler.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-dep-graph-0.22
+ (package
+ (name "rust-swc-ecma-dep-graph")
+ (version "0.22.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_dep_graph" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1l56x59y927zhyz8hfy3yj93sjzhpfi8zp31rpc06a0h5199xa11"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Dependency graph for the ecmascript")
+ (description
+ "Dependency graph for the ecmascript")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 37/49] gnu: Add rust-swc-ecma-codegen-macros.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-37-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-codegen-macros-0.5): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a714cc265..e6ddd78bc9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51090,3 +51090,33 @@ configuration file and/or environment variables.")
(synopsis "Feature-complete es2019 parser.")
(description "Feature-complete es2019 parser.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-codegen-macros-0.5
+ (package
+ (name "rust-swc-ecma-codegen-macros")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_codegen_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lr0mp1wfacpj6h153ki9cca62afqh3a4pxiwa4aaknb4s043bsi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Macros for swc_ecma_codegen.")
+ (description "Macros for swc_ecma_codegen.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 38/49] gnu: Add rust-swc-ecma-codegen.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-38-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-codegen-0.52): New variable.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6ddd78bc9..69605cbd07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51120,3 +51120,39 @@ configuration file and/or environment variables.")
(synopsis "Macros for swc_ecma_codegen.")
(description "Macros for swc_ecma_codegen.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-codegen-0.52
+ (package
+ (name "rust-swc-ecma-codegen")
+ (version "0.52.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_codegen" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02by4cq93nzjrimd5vlzxmkmjhgzqi670cr4ffnw6kv2py3xbzsb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-sourcemap" ,rust-sourcemap-6)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-codegen-macros"
+ ,rust-swc-ecma-codegen-macros-0.5)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Ecmascript code generator for the swc project.")
+ (description
+ "Ecmascript code generator for the swc project.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 39/49] gnu: Add rust-swc-atoms.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-39-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-atoms-0.2): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 69605cbd07..c4a51a5cc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51156,3 +51156,30 @@ configuration file and/or environment variables.")
(description
"Ecmascript code generator for the swc project.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-atoms-0.2
+ (package
+ (name "rust-swc-atoms")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_atoms" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c6j0ifknq8k3cgvapry8i4wy7l5ds61mnngba75dvpcnq6bgkbv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-string-cache" ,rust-string-cache-0.8)
+ ("rust-string-cache-codegen"
+ ,rust-string-cache-codegen-0.5))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Atoms for the swc project.")
+ (description "Atoms for the swc project.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:21
[PATCH 40/49] gnu: Add rust-string-enum.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-40-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-string-enum-0.3): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c4a51a5cc1..d9e3c51ca5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51183,3 +51183,33 @@ configuration file and/or environment variables.")
(synopsis "Atoms for the swc project.")
(description "Atoms for the swc project.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-string-enum-0.3
+ (package
+ (name "rust-string-enum")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "string_enum" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07w7n805fpqv0x0z531pws7hvhwlm9208yw2pzb1ypwy3s4cr17m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "String based enum.")
+ (description "String based enum.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 42/49] gnu: Add rust-swc-ecmascript.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-42-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecmascript-0.31): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 425457fb67..8bbb70c97f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51244,3 +51244,36 @@ configuration file and/or environment variables.")
(synopsis "Ecmascript ast.")
(description "Ecmascript ast.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecmascript-0.31
+ (package
+ (name "rust-swc-ecmascript")
+ (version "0.31.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecmascript" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0h1fyb813vw15lnwybyz4s6j4xzpqvska5cm2gpwk84r25z6qa25"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+ ("rust-swc-ecma-codegen"
+ ,rust-swc-ecma-codegen-0.52)
+ ("rust-swc-ecma-dep-graph"
+ ,rust-swc-ecma-dep-graph-0.22)
+ ("rust-swc-ecma-parser"
+ ,rust-swc-ecma-parser-0.54)
+ ("rust-swc-ecma-transforms"
+ ,rust-swc-ecma-transforms-0.45)
+ ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+ ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Ecmascript")
+ (description "Ecmascript")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 43/49] gnu: Add rust-rand-xorshift.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-43-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-rand-xorshift-0.3): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8bbb70c97f..7c08df7554 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51277,3 +51277,31 @@ configuration file and/or environment variables.")
(synopsis "Ecmascript")
(description "Ecmascript")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-rand-xorshift-0.3
+ (package
+ (name "rust-rand-xorshift")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_xorshift" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "13vcag7gmqspzyabfl1gr9ykvxd2142q2agrj8dkyjmfqmgg4nyj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://rust-random.github.io/book")
+ (synopsis "Xorshift random number generator
+")
+ (description
+ "Xorshift random number generator
+")
+ (license (list license:expat license:asl2.0))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 44/49] gnu: Add rust-quick-error.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-44-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-quick-error-2): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c08df7554..6627ff8d24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51305,3 +51305,28 @@ configuration file and/or environment variables.")
"Xorshift random number generator
")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-quick-error-2
+ (package
+ (name "rust-quick-error")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quick-error" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1njwdphwqfjmfqbgn3v9gw6vzqf78sy0j6g6n84w2vvp288kpirs"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page
+ "http://github.com/tailhook/quick-error")
+ (synopsis
+ " A macro which makes error types pleasant to write.
+")
+ (description
+ " A macro which makes error types pleasant to write.
+")
+ (license (list license:expat license:asl2.0))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 45/49] gnu: Add rust-proptest.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-45-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-proptest-1): New variable.
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6627ff8d24..e1339b8835 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51330,3 +51330,44 @@ configuration file and/or environment variables.")
" A macro which makes error types pleasant to write.
")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-proptest-1
+ (package
+ (name "rust-proptest")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proptest" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rdhjnf0xma5rmsq04d31n2vq1pgbm42pjc6jn3jsj8qgz09q38y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bit-set" ,rust-bit-set-0.5)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-quick-error" ,rust-quick-error-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-rusty-fork" ,rust-rusty-fork-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-x86" ,rust-x86-0.33))))
+ (home-page
+ "https://altsysrq.github.io/proptest-book/proptest/index.html")
+ (synopsis
+ "Hypothesis-like property-based testing and shrinking.
+")
+ (description
+ "Hypothesis-like property-based testing and shrinking.
+")
+ (license (list license:expat license:asl2.0))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 47/49] gnu: Add rust-loom.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-47-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-loom-0.5): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c120c55d8b..86cc797b01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51401,3 +51401,34 @@ configuration file and/or environment variables.")
(description
"Stackfull Generator Library in Rust")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-loom-0.5
+ (package
+ (name "rust-loom")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "loom" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fl2yg1imnpa4aipdlf9zjqh2ssy6hhfmm3dkd0z59azqj6k99bs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-generator" ,rust-generator-0.7)
+ ("rust-pin-utils" ,rust-pin-utils-0.1)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/tokio-rs/loom")
+ (synopsis
+ "Permutation testing for concurrent code")
+ (description
+ "Permutation testing for concurrent code")
+ (license license:expat)))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 48/49] gnu: Add rust-tokio.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-48-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-tokio-1.5): New variable.
---
gnu/packages/crates-io.scm | 53 ++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 86cc797b01..897bfcd4a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51432,3 +51432,56 @@ configuration file and/or environment variables.")
(description
"Permutation testing for concurrent code")
(license license:expat)))
+
+(define-public rust-tokio-1.5
+ (package
+ (name "rust-tokio")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "199pf7dy992rjpxygrj6790pzbyhhzvvlm9hcq5vbnmdq3kwiw43"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mio" ,rust-mio-0.7)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-pin-project-lite"
+ ,rust-pin-project-lite-0.2)
+ ("rust-signal-hook-registry"
+ ,rust-signal-hook-registry-1)
+ ("rust-tokio-macros" ,rust-tokio-macros-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-loom" ,rust-loom-0.5)
+ ("rust-nix" ,rust-nix-0.19)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-test" ,rust-tokio-test-0.4))))
+ (home-page "https://tokio.rs")
+ (synopsis
+ "An event-driven, non-blocking I/O platform for writing asynchronous I/O
+backed applications.
+")
+ (description
+ "An event-driven, non-blocking I/O platform for writing asynchronous I/O
+backed applications.
+")
+ (license license:expat)))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 49/49] gnu: Add rust-deno-doc.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-49-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-deno-doc-0.3): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 897bfcd4a5..7cf09a48ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51485,3 +51485,37 @@ backed applications.
backed applications.
")
(license license:expat)))
+
+(define-public rust-deno-doc-0.3
+ (package
+ (name "rust-deno-doc")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deno_doc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12dmk1v7ybybn6sb2xhiidyx19j9hiig814km88ahk6swd7q5cz1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-swc-common" ,rust-swc-common-0.10)
+ ("rust-swc-ecmascript" ,rust-swc-ecmascript-0.31)
+ ("rust-termcolor" ,rust-termcolor-1))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://github.com/denoland/deno_doc")
+ (synopsis "Documentation generator for Javascript and Typescript")
+ (description "This package provides a Rust crate to generate documentation
+for JavaScript and TypeScript modules.")
+ (license license:expat)))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 46/49] gnu: Add rust-generator.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-46-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-generator-0.7): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1339b8835..c120c55d8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51371,3 +51371,33 @@ configuration file and/or environment variables.")
"Hypothesis-like property-based testing and shrinking.
")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-generator-0.7
+ (package
+ (name "rust-generator")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "generator" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vhj3f0rf4mlh5vz7pz5rxmgry1cc62x21mf9ld1r292m2f2gnf1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page
+ "https://github.com/Xudong-Huang/generator-rs.git")
+ (synopsis "Stackfull Generator Library in Rust")
+ (description
+ "Stackfull Generator Library in Rust")
+ (license (list license:expat license:asl2.0))))
--
2.29.2
D
D
Danny Milosavljevic wrote on 22 Apr 2021 12:22
[PATCH 41/49] gnu: Add rust-swc-ecma-ast.
(address . 47948@debbugs.gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20210422102208.1154-41-dannym@scratchpost.org
* gnu/packages/crates-io.scm (rust-swc-ecma-ast-0.43): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9e3c51ca5..425457fb67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51213,3 +51213,34 @@ configuration file and/or environment variables.")
(synopsis "String based enum.")
(description "String based enum.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-ast-0.43
+ (package
+ (name "rust-swc-ecma-ast")
+ (version "0.43.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swc_ecma_ast" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07pqinjyhaly9nbx97xf5j1j82vwi5wivhjvks8ym8c7lfwb0644"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-0.4)
+ ("rust-is-macro" ,rust-is-macro-0.1)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-string-enum" ,rust-string-enum-0.3)
+ ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+ ("rust-swc-common" ,rust-swc-common-0.10))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis "Ecmascript ast.")
+ (description "Ecmascript ast.")
+ (license (list license:asl2.0 license:expat))))
--
2.29.2
N
N
Nicolas Goaziou wrote on 23 Apr 2021 10:28
Re: [bug#47948] [PATCH 48/49] gnu: Add rust-tokio.
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 47948@debbugs.gnu.org)
871rb14d6v.fsf@nicolasgoaziou.fr
Hello,

Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (2 lines)
> * gnu/packages/crates-io.scm (rust-tokio-1.5): New variable.

There's already a rust-tokio-1 variable, referring to 1.2.0 version.
I think this should be updated instead.

Regards,
--
Nicolas Goaziou
L
L
Lars-Dominik Braun wrote on 15 Sep 2022 10:19
Re: [PATCH 00/49] Towards deno.
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . guix-patches@gnu.org)
YyLgDH+/DxmIDDr5@noor.fritz.box
Hi Danny,

Toggle quote (1 lines)
> This patchset prepares to add deno.
did you ever package deno? I’m interested in that, because the latest
version of RStudio uses on Quarto, which depends on deno.

Thanks,
Lars
D
D
Daniel Meißner wrote on 12 Oct 2023 09:40
Re: bug#47948: [PATCH 00/49] Towards deno.
(name . Lars-Dominik Braun)(address . lars@6xq.net)
87il7cguf9.fsf_-_@rub.de
Lars-Dominik Braun <lars@6xq.net> writes:

Toggle quote (4 lines)
>> This patchset prepares to add deno.
> did you ever package deno? I’m interested in that, because the latest
> version of RStudio uses on Quarto, which depends on deno.

I am also interested in that because I would like to use Quarto on Guix.
I tried to run the binary tarball provided on their website in an FHS
container but that did not work out nicely. When I learned that Quarto
needs Deno I stopped my packaging attempt because of the shear number of
required packages. If more people are interested in deno, we could
probably split the work.

WDYT?

However, there's dart-sass that is bundled in the Quarto binary tarball
which is a whole other level since there’s no Dart toolchain in Guix so
packaging dart-sass is even more difficult I would think.

--
Daniel
S
S
Sharlatan Hellseher wrote on 15 Dec 2023 00:35
(address . 47948@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
CAO+9K5rwjeDsAUm0H6_kzeae3=d1iiN4+pPdE1xYgGkRimSODA@mail.gmail.com
Hi,
It looks like a nice project to have on the Guix's belt, but this patch series
a little bit dated. And might need some love to build with recent efforts from
rust-team.
Thanks,
Oleg
--
… ??? ????? - ???????????? ?????????????? ?????? ??????? ????????
????? ????? ????? ? ??? ??????, ??????????? ????? ???????, ??
?????????? ?? ? ????????? ??????? ????? ? ?????????????????.
S
S
Sharlatan Hellseher wrote on 19 Aug 2024 21:01
(address . 47948@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
CAO+9K5oX4dOhRN-1W2Wes7vFZq4uMLkjzuVo=qVGp7=d32zdag@mail.gmail.com
Gentle ping here, CC rust-team.
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 47948@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47948
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch