* [bug#48956] [PATCH 17/58] gnu: Add rust-snap-1.
[not found] <20210611125337.10255-1-873216071@qq.com>
@ 2021-06-11 12:52 ` Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 18/58] gnu: Add rust-object-0.24 Zheng Junjie
` (17 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:52 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-snap-1): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9ecaf94fcc..89d0cc8c75 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41282,6 +41282,32 @@ More importantly, this library also provides the ability to un-escape a given
escaped text to recover the original string.")
(license license:gpl3)))
+(define-public rust-snap-1
+ (package
+ (name "rust-snap")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snap" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l8llidvm7dlwfw2ql6hk4b4byl9677fppwgl7i2wglqs6a60ia5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))
+ (home-page
+ "https://github.com/BurntSushi/rust-snappy")
+ (synopsis
+ "Pure Rust implementation of the Snappy compression algorithm")
+ (description
+ "This package provides a pure Rust implementation of the Snappy compression
+algorithm. Includes streaming compression and decompression.")
+ (license license:bsd-3)))
+
(define-public rust-socket2-0.3
(package
(name "rust-socket2")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 18/58] gnu: Add rust-object-0.24.
[not found] <20210611125337.10255-1-873216071@qq.com>
2021-06-11 12:52 ` [bug#48956] [PATCH 17/58] gnu: Add rust-snap-1 Zheng Junjie
@ 2021-06-11 12:52 ` Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 19/58] gnu: Add rust-anymap-0.12 Zheng Junjie
` (16 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:52 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-object-0.24): New variable.
(rust-object-0.23): inherit from above.
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++-------
1 file changed, 38 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89d0cc8c75..cdaa52431e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28089,28 +28089,35 @@ Foundation framework.")
"This package provides utilities for testing Objective-C interop.")
(license license:expat)))
-(define-public rust-object-0.23
+(define-public rust-object-0.24
(package
(name "rust-object")
- (version "0.23.0")
+ (version "0.24.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "object" version))
- (file-name (string-append name "-" version ".tar.gz"))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1m658q2ci9hk8csbl17zwcg1hpvcxm2sspjb9bzg0kc1cifsp9x9"))))
+ (base32
+ "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ (("rust-compiler-builtins"
+ ,rust-compiler-builtins-0.1)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-flate2" ,rust-flate2-1)
("rust-indexmap" ,rust-indexmap-1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-wasmparser" ,rust-wasmparser-0.57))))
+ ("rust-rustc-std-workspace-alloc"
+ ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core"
+ ,rust-rustc-std-workspace-core-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.57))
+ #:cargo-development-inputs
+ (("rust-memmap" ,rust-memmap-0.7))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
@@ -28118,6 +28125,29 @@ Foundation framework.")
file formats.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-object-0.23
+ (package
+ (inherit rust-object-0.24)
+ (name "rust-object")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "object" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m658q2ci9hk8csbl17zwcg1hpvcxm2sspjb9bzg0kc1cifsp9x9"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.57))))))
+
(define-public rust-object-0.22
(package
(inherit rust-object-0.23)
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 19/58] gnu: Add rust-anymap-0.12.
[not found] <20210611125337.10255-1-873216071@qq.com>
2021-06-11 12:52 ` [bug#48956] [PATCH 17/58] gnu: Add rust-snap-1 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 18/58] gnu: Add rust-object-0.24 Zheng Junjie
@ 2021-06-11 12:52 ` Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 20/58] gnu: Add rust-xshell-macros-0.1 Zheng Junjie
` (15 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:52 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-anymap-0.12): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cdaa52431e..fdf9c4a2f7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1889,6 +1889,30 @@ escape codes.")
@code{std::error::Error}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-anymap-0.12
+ (package
+ (name "rust-anymap")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anymap" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0i23vv38i22aazp5z2hz0a44b943b6w5121kwwnpq1brpm1l559k"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page
+ "https://github.com/chris-morgan/anymap")
+ (synopsis
+ "Safe and convenient store for one value of each type")
+ (description
+ "This package provides a safe and convenient store for one value of each
+type.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-app-dirs2-2
(package
(name "rust-app-dirs2")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 20/58] gnu: Add rust-xshell-macros-0.1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (2 preceding siblings ...)
2021-06-11 12:52 ` [bug#48956] [PATCH 19/58] gnu: Add rust-anymap-0.12 Zheng Junjie
@ 2021-06-11 12:52 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 21/58] gnu: Add rust-xshell-0.1 Zheng Junjie
` (14 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:52 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-xshell-macros-0.1): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fdf9c4a2f7..78840c3c07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52489,6 +52489,28 @@ to XDG Base Directory specification.")
parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-xshell-macros-0.1
+ (package
+ (name "rust-xshell-macros")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xshell-macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lkym5kfq446xymimxr226kppr3ynpi9n8iif32vrfbm5i5djzng"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/matklad/xshell")
+ (synopsis
+ "Private implementation detail of xshell crate")
+ (description
+ "This package provide a private implementation detail of xshell crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-xz2-0.1
(package
(name "rust-xz2")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 21/58] gnu: Add rust-xshell-0.1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (3 preceding siblings ...)
2021-06-11 12:52 ` [bug#48956] [PATCH 20/58] gnu: Add rust-xshell-macros-0.1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 22/58] gnu: Add rust-arrayvec-0.7 Zheng Junjie
` (13 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-xshell-0.1): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78840c3c07..ef6b53f63c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52511,6 +52511,31 @@ parser.")
"This package provide a private implementation detail of xshell crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-xshell-0.1
+ (package
+ (name "rust-xshell")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xshell" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iilg7cjgz3342f3na500dp3c371jk198qh053kfy57b84dvn5gb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-xshell-macros" ,rust-xshell-macros-0.1))))
+ (home-page "https://github.com/matklad/xshell")
+ (synopsis
+ "Utilities for quick shell scripting in Rust")
+ (description
+ "This package provide a utilities for quick shell scripting in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-xz2-0.1
(package
(name "rust-xz2")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 22/58] gnu: Add rust-arrayvec-0.7.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (4 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 21/58] gnu: Add rust-xshell-0.1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 23/58] gnu: Add rust-camino-1 Zheng Junjie
` (12 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-arrayvec-0.7): New variable.
(rust-arrayvec-0.5): inherit from above.
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef6b53f63c..871383c412 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2236,10 +2236,10 @@ structures.")
"Macros to take array references of slices.")
(license license:bsd-2)))
-(define-public rust-arrayvec-0.5
+(define-public rust-arrayvec-0.7
(package
(name "rust-arrayvec")
- (version "0.5.2")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
@@ -2248,7 +2248,7 @@ structures.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3"))))
+ "1xza6jbs8x51yhh4qnwjw1crm33bhl975r965fpq1hqhpfq5hbss"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -2266,6 +2266,29 @@ array (it can be stored on the stack too). Implements fixed capacity
ArrayVec and ArrayString.")
(license (list license:expat license:asl2.0))))
+(define-public rust-arrayvec-0.5
+ (package
+ (inherit rust-arrayvec-0.7)
+ (name "rust-arrayvec")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrayvec" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-arrayvec-0.4
(package
(inherit rust-arrayvec-0.5)
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 23/58] gnu: Add rust-camino-1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (5 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 22/58] gnu: Add rust-arrayvec-0.7 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 24/58] gnu: Add rust-countme-2 Zheng Junjie
` (11 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-camino-1): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 871383c412..7b46e1ac15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6622,6 +6622,41 @@ spreadsheet file.")
#:cargo-development-inputs
(("rust-lazycell" ,rust-lazycell-1))))))
+(define-public rust-camino-1
+ (package
+ (name "rust-camino")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "camino" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a91b5i4n6ikg7p5pgvj3hjac1gnwjmdqsi3k83al2d701nqqr6l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-structopt" ,rust-structopt-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("1.0.38") ,(package-version rust-anyhow-1)))
+ #t)))))
+ (home-page
+ "https://github.com/withoutboats/camino")
+ (synopsis "UTF-8 paths")
+ (description "This package provides a UTF-8 paths.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-capnp-0.13
(package
(name "rust-capnp")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 24/58] gnu: Add rust-countme-2.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (6 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 23/58] gnu: Add rust-camino-1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13 Zheng Junjie
` (10 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-countme-2): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b46e1ac15..aa8876d61c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9538,6 +9538,32 @@ intrinsics.")
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-countme-2
+ (package
+ (name "rust-countme")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "countme" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n6bzg2g6gsmgabyzbcfkyb9y9mzxsvavng85d04wkdsvhmq52rj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dashmap" ,rust-dashmap-4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1))))
+ (home-page "https://github.com/matklad/countme")
+ (synopsis
+ "Counts the number of live instances of types")
+ (description
+ "This package provides a counts the number of live instances of types.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cpp-demangle-0.3
(package
(name "rust-cpp-demangle")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (7 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 24/58] gnu: Add rust-countme-2 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 26/58] gnu: Add rust-cov-mark-1 Zheng Junjie
` (9 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-cargo-metadata-0.13): New variable.
(rust-cargo-metadata-0.9): inherit from above.
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa8876d61c..239c77a83a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6951,8 +6951,40 @@ capabilities")
the library crate of Cargo.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cargo-metadata-0.13
+ (package
+ (name "rust-cargo-metadata")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo-metadata" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-camino" ,rust-camino-1)
+ ("rust-cargo-platform" ,rust-cargo-platform-0.1)
+ ("rust-derive-builder" ,rust-derive-builder-0.9)
+ ("rust-semver" ,rust-semver-0.11)
+ ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/oli-obk/cargo_metadata")
+ (synopsis "Structured access to the output of `cargo metadata`")
+ (description
+ "This package provides structured access to the output of @code{cargo
+metadata}.")
+ (license license:expat)))
+
(define-public rust-cargo-metadata-0.9
(package
+ (inherit rust-cargo-metadata-0.13)
(name "rust-cargo-metadata")
(version "0.9.1")
(source
@@ -6964,7 +6996,6 @@ the library crate of Cargo.")
(sha256
(base32
"00pjms89lghvizh4d55lz80hvrih9r55xv9m5wd9vcsgc163gqs6"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f
#:cargo-inputs
@@ -6975,13 +7006,7 @@ the library crate of Cargo.")
#:cargo-development-inputs
(("rust-clap" ,rust-clap-2)
("rust-docopt" ,rust-docopt-1)
- ("rust-structopt" ,rust-structopt-0.2))))
- (home-page "https://github.com/oli-obk/cargo_metadata")
- (synopsis "Structured access to the output of `cargo metadata`")
- (description
- "This package provides structured access to the output of @code{cargo
-metadata}.")
- (license license:expat)))
+ ("rust-structopt" ,rust-structopt-0.2))))))
(define-public rust-cargo-metadata-0.6
(package
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 26/58] gnu: Add rust-cov-mark-1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (8 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 27/58] gnu: Add rust-drop-bomb-0.1 Zheng Junjie
` (8 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-cov-mark-1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 239c77a83a..9b806e6204 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9563,6 +9563,26 @@ intrinsics.")
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-cov-mark-1
+ (package
+ (name "rust-cov-mark")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cov-mark" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wv75ylrai556m388a40d50fxiyacmvm6qqz6va6qf1q04z3vylz"))))
+ (arguments `(#:skip-build? #t))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/matklad/cov-mark")
+ (synopsis "Manual coverage marks")
+ (description "This package provides a Manual coverage marks.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-countme-2
(package
(name "rust-countme")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 27/58] gnu: Add rust-drop-bomb-0.1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (9 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 26/58] gnu: Add rust-cov-mark-1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 28/58] gnu: Add rust-jod-thread-0.1 Zheng Junjie
` (7 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-drop-bomb-0.1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b806e6204..db853e8b7c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13524,6 +13524,29 @@ Rust.")
(description "Graphics state blocks for gfx-rs.")
(license license:asl2.0)))
+(define-public rust-drop-bomb-0.1
+ (package
+ (name "rust-drop-bomb")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drop-bomb" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qc59a53ngwxpnbvl8xidp2cmwrl671dhbzw7zijmjjaq0hqxnlv"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page
+ "https://github.com/matklad/drop_bomb")
+ (synopsis
+ "Runtime guard for implementing linear types")
+ (description
+ "This package provides a runtime guard for implementing linear types.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dtoa-0.4
(package
(name "rust-dtoa")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 28/58] gnu: Add rust-jod-thread-0.1.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (10 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 27/58] gnu: Add rust-drop-bomb-0.1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83 Zheng Junjie
` (6 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-jod-thread-0.1): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db853e8b7c..c54c23279e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22181,6 +22181,30 @@ the jni-bindgen code generator for binding to JVM APIs from Rust.")
"An implementation of the GNU make jobserver for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-jod-thread-0.1
+ (package
+ (name "rust-jod-thread")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jod-thread" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bj7g6l59ybcf33znf80ccqbxvs1cmd8ynd4m8h7ywdqk473c8wb"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page
+ "https://github.com/matklad/jod-thread")
+ (synopsis
+ "Thin wrapper around @code{std::thread} which joins on drop by default")
+ (description
+ "Join On Drop thread (jod_thread) is a thin wrapper around
+@code{std::thread}, which makes sure that by default all threads are joined.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-jsonrpc-core-14
(package
(name "rust-jsonrpc-core")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (11 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 28/58] gnu: Add rust-jod-thread-0.1 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 30/58] gnu: Add rust-lsp-server-0.5 Zheng Junjie
` (5 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-lsp-types-0.83): New variable.
(rust-lsp-types-0.80): inherit from above.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c54c23279e..f32047c0ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24172,17 +24172,19 @@ key-value pairs.")
(base32
"0jxsgkn378kxkiqdshdjdclw5wwp2xaz45cqd3yw85fhn8a38fza"))))))
-(define-public rust-lsp-types-0.80
+(define-public rust-lsp-types-0.83
(package
(name "rust-lsp-types")
- (version "0.80.0")
+ (version "0.83.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "lsp-types" version))
- (file-name (string-append name "-" version ".tar.gz"))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vwjmi4apa4np6fgy95gq1nxc322br9cx7q2mm6vpb5x2lkmw9pl"))))
+ (base32
+ "0vdbdb74w1aim0q0nqnjvddrqz9cwirwbkjykwgjg5sbhcwrzry4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -24200,6 +24202,28 @@ key-value pairs.")
server (LSP).")
(license license:expat)))
+(define-public rust-lsp-types-0.80
+ (package
+ (inherit rust-lsp-types-0.83)
+ (name "rust-lsp-types")
+ (version "0.80.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vwjmi4apa4np6fgy95gq1nxc322br9cx7q2mm6vpb5x2lkmw9pl"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.12)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-url" ,rust-url-2))))))
+
(define-public rust-lzma-sys-0.1
(package
(name "rust-lzma-sys")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 30/58] gnu: Add rust-lsp-server-0.5.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (12 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9 Zheng Junjie
` (4 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-lsp-server-0.5): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f32047c0ac..c73d90a4e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24224,6 +24224,36 @@ server (LSP).")
("rust-serde-repr" ,rust-serde-repr-0.1)
("rust-url" ,rust-url-2))))))
+(define-public rust-lsp-server-0.5
+ (package
+ (name "rust-lsp-server")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-server" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14irb3kawr5i2cx295xyw8q7pv18d52cjh3c6rd858aw5l2df9b8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-channel"
+ ,rust-crossbeam-channel-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-lsp-types" ,rust-lsp-types-0.83))))
+ (home-page
+ "https://github.com/rust-analyzer/lsp-server")
+ (synopsis "Generic LSP server scaffold")
+ (description "This package provides a generic LSP server scaffold.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-lzma-sys-0.1
(package
(name "rust-lzma-sys")
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (13 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 30/58] gnu: Add rust-lsp-server-0.5 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 32/58] gnu: Add rust-fsevent-sys-3 Zheng Junjie
` (3 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-inotify-0.9): New variable.
(rust-inotify-0.8): inherit from above.
---
gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++++-------
1 file changed, 33 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c73d90a4e2..d961b21c1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21033,8 +21033,40 @@ deordinalize, demodulize, foreign key, and pluralize/singularize are supported
as both traits and pure functions acting on String types.")
(license license:bsd-2)))
+(define-public rust-inotify-0.9
+ (package
+ (name "rust-inotify")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "inotify" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cs3xlkq3fnfca3mimvifazp01ayscinm07v38ifw0xin5f4fcdh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-inotify-sys" ,rust-inotify-sys-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/inotify-rs/inotify")
+ (synopsis "Idiomatic wrapper for inotify")
+ (description "This package provides an idiomatic wrapper for inotify
+written in Rust.")
+ (license license:isc)))
+
(define-public rust-inotify-0.8
(package
+ (inherit rust-inotify-0.9)
(name "rust-inotify")
(version "0.8.3")
(source
@@ -21044,7 +21076,6 @@ as both traits and pure functions acting on String types.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1m74znskinrvfcp0hczwwdxvc7kvnrrailngkivk1iwknfa0mpa6"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -21056,12 +21087,7 @@ as both traits and pure functions acting on String types.")
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
("rust-tempdir" ,rust-tempdir-0.3)
- ("rust-tokio" ,rust-tokio-0.2))))
- (home-page "https://github.com/inotify-rs/inotify")
- (synopsis "Idiomatic wrapper for inotify")
- (description "This package provides an idiomatic wrapper for inotify
-written in Rust.")
- (license license:isc)))
+ ("rust-tokio" ,rust-tokio-0.2))))))
(define-public rust-inotify-0.7
(package
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 32/58] gnu: Add rust-fsevent-sys-3.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (14 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 33/58] gnu: rust-time-0.2: fix inputs Zheng Junjie
` (2 subsequent siblings)
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-fsevent-sys-3): New variable.
(rust-fsevent-sys-2): inherit from above.
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d961b21c1d..92aa7a19d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16228,8 +16228,33 @@ process and much more.")
for file changes notifications")
(license license:expat)))
+(define-public rust-fsevent-sys-3
+ (package
+ (name "rust-fsevent-sys")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fsevent-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys")
+ (synopsis "Rust bindings to the fsevent macOS API")
+ (description "This package provides Rust bindings to the @code{fsevent}
+macOS API for file changes notifications")
+ (license license:expat)))
+
(define-public rust-fsevent-sys-2
(package
+ (inherit rust-fsevent-sys-3)
(name "rust-fsevent-sys")
(version "2.0.1")
(source
@@ -16241,15 +16266,9 @@ for file changes notifications")
(sha256
(base32
"18246vxk7rqn52m0sfrhivxq802i34p2wqqx5zsa0pamjj5086zl"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only available on macOS
- #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys")
- (synopsis "Rust bindings to the fsevent macOS API")
- (description "This package provides Rust bindings to the @code{fsevent}
-macOS API for file changes notifications")
- (license license:expat)))
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
(define-public rust-fst-0.4
(package
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 33/58] gnu: rust-time-0.2: fix inputs.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (15 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 32/58] gnu: Add rust-fsevent-sys-3 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 35/58] gnu: Add rust-notify-5 Zheng Junjie
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-time-0.2)[cargo-inputs]: Add rust-version-check-0.9.
[cargo-development-inputs]: Add rust-rand-0.7, rust-serde-json-1,rust-standback-0.2.
Remove rust-version-check-0.9.
---
gnu/packages/crates-io.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92aa7a19d7..7d6e40d293 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45541,9 +45541,12 @@ introspection APIs.")
("rust-standback" ,rust-standback-0.2)
("rust-stdweb" ,rust-stdweb-0.4)
("rust-time-macros" ,rust-time-macros-0.1)
+ ("rust-version-check" ,rust-version-check-0.9)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-version-check" ,rust-version-check-0.9))))
+ (("rust-rand" ,rust-rand-0.7)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-standback" ,rust-standback-0.2))))
(home-page "https://github.com/time-rs/time")
(synopsis "Date and time library")
(description "This package provides a date and time library. It is fully
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (16 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 33/58] gnu: rust-time-0.2: fix inputs Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 35/58] gnu: Add rust-notify-5 Zheng Junjie
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-fsevent-2): New variable.
(rust-fsevent-0.4): inherit from above.
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7d6e40d293..6431e0abc9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16199,8 +16199,38 @@ process and much more.")
"This package provides cross-platform file locks and file duplication.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fsevent-2
+ (package
+ (name "rust-fsevent")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fsevent" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qsylfbhgha319q6a8yvkznbm3hf47gy3y8nq82qijcm5hh4gwwp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-fsevent-sys" ,rust-fsevent-sys-3))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3)
+ ("rust-time" ,rust-time-0.2))))
+ (home-page "https://github.com/octplane/fsevent-rust")
+ (synopsis "Rust bindings to the fsevent-sys macOS API")
+ (description
+ "This package provides Rust bindings to the @code{fsevent-sys} macOS API
+for file changes notifications")
+ (license license:expat)))
+
(define-public rust-fsevent-0.4
(package
+ (inherit rust-fsevent-2)
(name "rust-fsevent")
(version "0.4.0")
(source
@@ -16220,13 +16250,7 @@ process and much more.")
("rust-fsevent-sys" ,rust-fsevent-sys-2))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3)
- ("rust-time" ,rust-time-0.1))))
- (home-page "https://github.com/octplane/fsevent-rust")
- (synopsis "Rust bindings to the fsevent-sys macOS API")
- (description
- "This package provides Rust bindings to the @code{fsevent-sys} macOS API
-for file changes notifications")
- (license license:expat)))
+ ("rust-time" ,rust-time-0.1))))))
(define-public rust-fsevent-sys-3
(package
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#48956] [PATCH 35/58] gnu: Add rust-notify-5.
[not found] <20210611125337.10255-1-873216071@qq.com>
` (17 preceding siblings ...)
2021-06-11 12:53 ` [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2 Zheng Junjie
@ 2021-06-11 12:53 ` Zheng Junjie
18 siblings, 0 replies; 19+ messages in thread
From: Zheng Junjie @ 2021-06-11 12:53 UTC (permalink / raw)
To: 48956; +Cc: Zheng junjie
From: Zheng junjie <873216071@qq.com>
* gnu/packages/crates-io.scm (rust-notify-5): New variable.
(rust-notify-4): inherit from above.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++----
1 file changed, 46 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6431e0abc9..e80fd076c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27494,8 +27494,54 @@ with all line endings.")
(base32
"1a1knz9j1w5a1pl2q6whmjphm3z6p64r5njnam7syp5rx8wil2if"))))))
+(define-public rust-notify-5
+ (package
+ (name "rust-notify")
+ (version "5.0.0-pre.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "notify" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jq1ixzi7rgq233dxbxkn129n8lidswp1glsgbdhvw7ig38brfs6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-crossbeam-channel"
+ ,rust-crossbeam-channel-0.5)
+ ("rust-filetime" ,rust-filetime-0.2)
+ ("rust-fsevent" ,rust-fsevent-2)
+ ("rust-fsevent-sys" ,rust-fsevent-sys-3)
+ ("rust-inotify" ,rust-inotify-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("0.7.7") ,(package-version rust-mio-0.7)))
+ #t)))))
+ (home-page "https://github.com/notify-rs/notify")
+ (synopsis
+ "Cross-platform filesystem notification library")
+ (description
+ "Cross-platform filesystem notification library")
+ (license (list license:cc0 license:artistic2.0))))
+
(define-public rust-notify-4
(package
+ (inherit rust-notify-5)
(name "rust-notify")
(version "4.0.15")
(source
@@ -27507,7 +27553,6 @@ with all line endings.")
(sha256
(base32
"1gadf8jf1vz7sip37rlwa66vw85ripy6977ibcfbiynii1v4mbl0"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -27522,10 +27567,6 @@ with all line endings.")
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/passcod/notify")
- (synopsis "Cross-platform file system notification library")
- (description
- "Cross-platform file system notification library.")
(license license:cc0)))
(define-public rust-ntapi-0.3
--
2.32.0
^ permalink raw reply related [flat|nested] 19+ messages in thread