* [bug#44762] [PATCH 00/37] gnu: Add ripgrep-all.
@ 2020-11-20 14:15 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
0 siblings, 1 reply; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:15 UTC (permalink / raw)
To: 44762
These patches build toward adding the current latest release
(0.9.6) of ripgrep-all [0] to rust-apps.scm.
There were numerous occasions where I was adding versions of Rust
libraries between two existing versions of the same library. In
those cases, I left all other versions untouched. I'm not sure if
this is the correct approach since it looks like we try to inherit
from the version that immediately precedes in the scm file.
0: https://github.com/phiresky/ripgrep-all
--
Joseph LaFreniere
^ permalink raw reply [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1.
2020-11-20 14:15 [bug#44762] [PATCH 00/37] gnu: Add ripgrep-all Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
` (35 more replies)
0 siblings, 36 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-hashbrown-0.1): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f485142383..2d9e26d541 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10900,6 +10900,39 @@ hash map.")
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-hashbrown-0.1
+ (package
+ (inherit rust-hashbrown-0.5)
+ (name "rust-hashbrown")
+ (version "0.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1np350nrzysy021ndn2135q5vpzrp5nli78ywz114d1vcnv2kbiv"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("1.2") "1.4"))
+ #t))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-scopeguard" ,rust-scopeguard-0.3)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.5)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-heapless-0.5
(package
(name "rust-heapless")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3 Joseph LaFreniere
` (34 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-anyhow-1.0): Update to 1.0.34.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d9e26d541..2fef3936a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -701,7 +701,7 @@ escape codes.")
(define-public rust-anyhow-1.0
(package
(name "rust-anyhow")
- (version "1.0.26")
+ (version "1.0.34")
(source
(origin
(method url-fetch)
@@ -710,7 +710,7 @@ escape codes.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0g6mzcxyj88k8bv8rr3zx4yczgimqvvgr12n14a29sqj6s1zc9bq"))))
+ "1mwz0vg77yqz3w616bl890xihh7dsixwgn27nr9qd8ms9ddwp3dz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9 Joseph LaFreniere
` (33 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-escargot-0.3): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fef3936a6..0b6f60bac0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7935,6 +7935,25 @@ variables.")
(description "Cargo API written in Paris.")
(license (list license:expat license:asl2.0))))
+(define-public rust-escargot-0.3
+ (package
+ (inherit rust-escargot-0.5)
+ (name "rust-escargot")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "escargot" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19fmn7bz1h6nlqy0mp825xwjwnrjn4xjdpwc06jl51j3fiz1znqr"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-expat-sys-2.1
(package
(name "rust-expat-sys")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9 Joseph LaFreniere
` (32 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-predicates-core-0.9): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0b6f60bac0..5b0783a8aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19350,6 +19350,21 @@ dependency to expose a precomputed hash.")
"An API for boolean-valued predicate functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-predicates-core-0.9
+ (package
+ (inherit rust-predicates-core-1)
+ (name "rust-predicates-core")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "predicates-core" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ig5wi3j2faxss6kshv5xdwnchiwbkq2fgx6v962mh6ij31hpy45"))))))
+
(define-public rust-predicates-tree-1
(package
(name "rust-predicates-tree")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (2 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2 Joseph LaFreniere
` (31 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-predicates-tree-0.9): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b0783a8aa..208c07aa04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19391,6 +19391,25 @@ dependency to expose a precomputed hash.")
"Render boolean-valued predicate functions results as a tree.")
(license (list license:expat license:asl2.0))))
+(define-public rust-predicates-tree-0.9
+ (package
+ (inherit rust-predicates-tree-1)
+ (name "rust-predicates-tree")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "predicates-tree" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ga0yyfmqbwi28naxlr6cvpmiig0qnwx5adc858hmjxxh6dxz1if"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-predicates-core" ,rust-predicates-core-0.9)
+ ("rust-treeline" ,rust-treeline-0.1))))))
+
(define-public rust-pretty-assertions-0.6
(package
(name "rust-pretty-assertions")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (3 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9 Joseph LaFreniere
` (30 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-normalize-line-endings-0.2): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 208c07aa04..42bd784734 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16150,6 +16150,21 @@ combinators library.")
with all line endings.")
(license license:asl2.0)))
+(define-public rust-normalize-line-endings-0.2
+ (package
+ (inherit rust-normalize-line-endings-0.3)
+ (name "rust-normalize-line-endings")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "normalize-line-endings" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a1knz9j1w5a1pl2q6whmjphm3z6p64r5njnam7syp5rx8wil2if"))))))
+
(define-public rust-notify-4
(package
(name "rust-notify")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (4 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9 Joseph LaFreniere
` (29 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-predicates-0.9): 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 42bd784734..3296d6cfef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19344,6 +19344,30 @@ dependency to expose a precomputed hash.")
"An implementation of boolean-valued predicate functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-predicates-0.9
+ (package
+ (inherit rust-predicates-1)
+ (name "rust-predicates")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "predicates" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "085ysw5iigw9l7fdy0pxqs7h165m9hxaxdknmkyq868izivpj7pk"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-difference" ,rust-difference-2)
+ ("rust-float-cmp" ,rust-float-cmp-0.4)
+ ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.2)
+ ("rust-predicates-core" ,rust-predicates-core-0.9)
+ ("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs
+ (("rust-predicates-tree" ,rust-predicates-tree-0.9))))))
+
(define-public rust-predicates-core-1
(package
(name "rust-predicates-core")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (5 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1 Joseph LaFreniere
` (28 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-assert-cmd-0.9): 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 3296d6cfef..24705ba8d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1079,6 +1079,29 @@ standard library.")
(description "Test CLI Applications.")
(license (list license:expat license:asl2.0))))
+(define-public rust-assert-cmd-0.9
+ (package
+ (inherit rust-assert-cmd-1)
+ (name "rust-assert-cmd")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert-cmd" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02gq7j9qzjkbyq4hk18cih3kylk3dyxwa2gc5k7lah9kdwkhrdn5"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-escargot" ,rust-escargot-0.3)
+ ("rust-predicates" ,rust-predicates-0.9)
+ ("rust-predicates-core" ,rust-predicates-core-0.9)
+ ("rust-predicates-tree" ,rust-predicates-tree-0.9))
+ #:cargo-development-inputs
+ (("rust-docmatic" ,rust-docmatic-0.1))))))
+
(define-public rust-assert-fs-0.11
(package
(name "rust-assert-fs")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (6 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8 Joseph LaFreniere
` (27 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-automod-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 24705ba8d7..3af13dd5dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1328,6 +1328,32 @@ methods.")
"1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
(arguments '(#:skip-build? #t))))
+(define-public rust-automod-1
+ (package
+ (name "rust-automod")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "automod" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z8kdbvvz0k8mfs45mvs16lr9xj59cdcp0sm45fawfh93gai4mhg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ ;; Tests not included in tar.
+ #:tests? #f))
+ (home-page "https://github.com/dtolnay/automod")
+ (synopsis "Pull in every source file in a directory as a module")
+ (description "Pull in every source file in a directory as a module.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-average-0.10
(package
(name "rust-average")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (7 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46 Joseph LaFreniere
` (26 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-bincode-0.8): 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 3af13dd5dc..2a51a5040d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1733,6 +1733,29 @@ tracebacks.")
that uses Serde for transforming structs into bytes and vice versa!")
(license license:expat)))
+(define-public rust-bincode-0.8
+ (package
+ (inherit rust-bincode-1)
+ (name "rust-bincode")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bincode" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nbj0lwykwa1a7sa4303rxgpng9p2hcz9s5d5qcrckrpmcxjsjkf"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-num-traits" ,rust-num-traits-0.1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-serde-bytes" ,rust-serde-bytes-0.10)
+ ("rust-serde-derive" ,rust-serde-derive-1))))))
+
(define-public rust-bindgen-0.55
(package
(name "rust-bindgen")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (8 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4 Joseph LaFreniere
` (25 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-bindgen-0.46): 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 2a51a5040d..66fcc20272 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2024,6 +2024,41 @@ bindings to C and C++ libraries.")
("rust-diff" ,rust-diff-0.1)
("rust-shlex" ,rust-shlex-0.1))))))
+(define-public rust-bindgen-0.46
+ (package
+ (inherit rust-bindgen-0.50)
+ (name "rust-bindgen")
+ (version "0.46.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qclvj5pydn5camw396b0r3nz4nn3p5wpxg4fgg1favp043pyzwg"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.3)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-clang-sys" ,rust-clang-sys-0.26)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-hashbrown" ,rust-hashbrown-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-which" ,rust-which-2.0))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-diff" ,rust-diff-0.1)
+ ("rust-shlex" ,rust-shlex-0.1))))) )
+
(define-public rust-bindgen-0.37
(package
(inherit rust-bindgen-0.50)
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (9 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1 Joseph LaFreniere
` (24 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-bzip2-0.4): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 66fcc20272..ec9a6a56bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3122,6 +3122,40 @@ little-endian.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-bzip2-0.4
+ (package
+ (name "rust-bzip2")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bzip2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gpwm7qj8adi0zffm8r17vkv6f98d1q9glvpjk28v0wb6kz88p97"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bzip2-sys" ,rust-bzip2-sys-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))
+ #:cargo-development-inputs
+ (("rust-partial-io" ,rust-partial-io-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-quickcheck6" ,rust-quickcheck-0.6)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-tokio-core" ,rust-tokio-core-0.1))))
+ (home-page "https://github.com/alexcrichton/bzip2-rs")
+ (synopsis
+ "Rust bindings to libbzip2 for bzip2 compression and decompression")
+ (description
+ "Bindings to @code{libbzip2} for @code{bzip2} compression and
+decompression exposed as Reader/Writer streams.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bzip2-0.3
(package
(name "rust-bzip2")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (10 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1 Joseph LaFreniere
` (23 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-cachedir-0.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 ec9a6a56bc..a9dacc163d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3256,6 +3256,32 @@ exposed as Reader/Writer streams.")
"The ChaCha family of stream ciphers.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cachedir-0.1
+ (package
+ (name "rust-cachedir")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cachedir" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1j18j73fxrr82marcdrn86123vr9v5n0fgyjkf9mi9pzyk8hjrf0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-tempfile" ,rust-tempfile-3))
+ ;; Tests require a mutable home directory.
+ #:tests? #f))
+ (home-page "https://github.com/lilianmoraru/cachedir")
+ (synopsis "Interact with cache directories and @file{CACHEDIR.TAG} files")
+ (description
+ "This package provides a library to help interacting with cache
+directories and @code{CACHEDIR.TAG} files.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-calloop-0.4
(package
(name "rust-calloop")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (11 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19 Joseph LaFreniere
` (22 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-cfg-if-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 a9dacc163d..df475a2469 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3688,6 +3688,32 @@ archive to be linked into Rustcode.")
(string-append clang "/lib")))
#t)))))))
+(define-public rust-cfg-if-1
+ (package
+ (name "rust-cfg-if")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-if" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1za0vb97n4brpzpv8lsbnzmq5r8f2b0cpqqr0sy8h5bn751xxwds"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ (home-page "https://github.com/alexcrichton/cfg-if")
+ (synopsis "Define an item depending on parameters")
+ (description "This package provides a macro to ergonomically define an
+item depending on a large number of @code{#[cfg]} parameters. Structured like
+an @code{if-else} chain, the first matching branch is the item that gets
+emitted.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cfg-if-0.1
(package
(name "rust-cfg-if")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (12 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11 Joseph LaFreniere
` (21 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-chrono-0.4): Update to 0.4.19.
---
gnu/packages/crates-io.scm | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df475a2469..6fcf18cb2b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3742,7 +3742,7 @@ depending on a large number of #[cfg] parameters. Structured like an
(define-public rust-chrono-0.4
(package
(name "rust-chrono")
- (version "0.4.13")
+ (version "0.4.19")
(source
(origin
(method url-fetch)
@@ -3751,28 +3751,30 @@ depending on a large number of #[cfg] parameters. Structured like an
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1dm0q1kmk2vq5djwhp1j9cm4aa38wr9vy1i1w19p2y0nj4188kf7"))))
+ "0wyfl6c00vhfl562spnfcna3zkw8jqvcp652m9iskhl8j26dc2k7"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-num-integer" ,rust-num-integer-0.1)
+ `(#:cargo-inputs
+ (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-num-integer" ,rust-num-integer-0.1)
("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.5)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-serde" ,rust-serde-1)
("rust-time" ,rust-time-0.1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
- (;("rust-bincode" ,rust-bincode-0.8)
- ("rust-criterion" ,rust-criterion-0.2)
+ (("rust-bincode" ,rust-bincode-0.8)
+ ("rust-criterion" ,rust-criterion-0.3)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-num-iter" ,rust-num-iter-0.1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
- (home-page
- "https://github.com/chronotope/chrono")
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))
+ #:features '("unstable-locales")
+ #:tests? #f))
+ (home-page "https://github.com/chronotope/chrono")
(synopsis "Date and time library for Rust")
(description "Date and time library for Rust.")
(license (list license:expat license:asl2.0))))
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (13 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1 Joseph LaFreniere
` (20 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-derive-more-0.99): Update to 0.99.11.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fcf18cb2b..09a7bfe026 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6501,7 +6501,7 @@ error-chain.")
(define-public rust-derive-more-0.99
(package
(name "rust-derive-more")
- (version "0.99.9")
+ (version "0.99.11")
(source
(origin
(method url-fetch)
@@ -6510,7 +6510,7 @@ error-chain.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0xizcpj39rx0474mbbx8m0xww98qh92zsg82gf52qnvbryqri299"))))
+ "131xrz5nmnh8zq3vcvv0wfpcaflypbxp3fin984fsqddc5hhxjs1"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files missing.
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (14 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1 Joseph LaFreniere
` (19 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-dirs-sys-next-0.1): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09a7bfe026..fb07ceefea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6922,6 +6922,27 @@ Windows, and the Standard Directory guidelines on macOS.")
and @code{directories} crates.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-dirs-sys-next-0.1
+ (package
+ (inherit rust-dirs-sys-0.3)
+ (name "rust-dirs-sys-next")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs-sys-next" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zgy7is3h2dyf1l4sa7k065w2kvx0l12l40my4rswm2mc1gkdplr"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-users" ,rust-redox-users-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/xdg-rs/dirs/tree/master/dirs-sys")))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (15 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1 Joseph LaFreniere
` (18 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-dirs-next-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 fb07ceefea..3140d65432 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6894,6 +6894,28 @@ Windows, and the Standard Directory guidelines on macOS.")
("rust-redox-users" ,rust-redox-users-0.3)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-dirs-next-1
+ (package
+ (inherit rust-dirs-1.0)
+ (name "rust-dirs-next")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs-next" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dl2dqzsrcb7qigfiwpdpakhdkpz0629pvylbj2ylyrkh1dfcdng"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-dirs-sys" ,rust-dirs-sys-next-0.1))))
+ (home-page "https://github.com/xdg-rs/dirs")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dirs-sys-0.3
(package
(name "rust-dirs-sys")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (16 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5 Joseph LaFreniere
` (17 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-directories-next-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 3140d65432..bee0bbf4db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6846,6 +6846,28 @@ on Linux, the Known Folder API on Windows, and the Standard
Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-directories-next-1
+ (package
+ (inherit rust-directories-3)
+ (name "rust-directories-next")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "directories-next" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mmym1h9vlyapwlzygfas3q9mx03mki8cnf5y1bmr713q7mwqa4a"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-dirs-sys" ,rust-dirs-sys-next-0.1))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1))))
+ (home-page "https://github.com/xdg-rs/dirs/tree/master/directories")))
+
(define-public rust-dirs-2.0
(package
(name "rust-dirs")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (17 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1 Joseph LaFreniere
@ 2020-11-20 14:26 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4 Joseph LaFreniere
` (16 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:26 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-exitfailure-0.5): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bee0bbf4db..1c68a3df51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8214,6 +8214,35 @@ variables.")
(("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-exitfailure-0.5
+ (package
+ (name "rust-exitfailure")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "exitfailure" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0585wix3b3pjjj90fkqj9x4ar46d24x82k8rdin3czzk5a1vvx9g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-failure" ,rust-failure-0.1))
+ #:cargo-development-inputs
+ (("rust-assert-cmd" ,rust-assert-cmd-0.9)
+ ("rust-predicates" ,rust-predicates-0.9))
+ ;; Tests fail with "No such file or directory".
+ #:tests? #f))
+ (home-page "https://github.com/tismith/exitfailure")
+ (synopsis "@code{newtype} wrappers for using @code{?} in @code{main}")
+ (description
+ "This package provides a basic @code{newtype} wrappers to help with using
+@code{?} in @code{main}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-expat-sys-2.1
(package
(name "rust-expat-sys")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (18 preceding siblings ...)
2020-11-20 14:26 ` [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1 Joseph LaFreniere
` (15 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-float-cmp-0.4): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c68a3df51..1017bfef36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8738,6 +8738,21 @@ streams.")
(base32
"03hmx3n48hjm0x1ig84n1j87kzp75lzr6cj1sgi6a6pykgn4n8km"))))))
+(define-public rust-float-cmp-0.4
+ (package
+ (inherit rust-float-cmp-0.5)
+ (name "rust-float-cmp")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "float-cmp" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0036jb8ry4h83n319jb20b5yvyfyq8mx8dkxnyjm22nq8fl8yjhk"))))))
+
(define-public rust-float-cmp-0.3
(package
(inherit rust-float-cmp-0.5)
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (19 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1 Joseph LaFreniere
` (14 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-tabwriter-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 1017bfef36..a60911ad77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27763,6 +27763,30 @@ syntax extension expansion.")
(description "Send log messages to syslog.")
(license license:expat)))
+(define-public rust-tabwriter-1
+ (package
+ (name "rust-tabwriter")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tabwriter" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "048i0mj3b07zlry9m5fl706y5bzdzgrswymqn32drakzk7y5q81n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://github.com/BurntSushi/tabwriter")
+ (synopsis "Elastic tabstops")
+ (description "Elastic tabstops.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-take-mut-0.2
(package
(name "rust-take-mut")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (20 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2 Joseph LaFreniere
` (13 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-size-format-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 a60911ad77..ecb0eeb342 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25852,6 +25852,29 @@ variants in pure Rust.")
"SipHash functions from rust-core < 1.13.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-size-format-1
+ (package
+ (name "rust-size-format")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "size-format" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fxjl0rc0x7yc14x885dh7jjf2jrlhpwf66akp3dxii246mzdmbf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.12)
+ ("rust-num" ,rust-num-0.2))))
+ (home-page "https://github.com/aticu/size_format")
+ (synopsis "Allow easier formatting of sizes")
+ (description "This package allows for easier formatting of sizes.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-skeptic-0.9
(package
(name "rust-skeptic")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (21 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11 Joseph LaFreniere
` (12 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-nom-2): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ecb0eeb342..928cc998f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16391,6 +16391,27 @@ combinators library.")
("rust-memchr" ,rust-memchr-1.0)
("rust-regex" ,rust-regex-0.2))))))
+(define-public rust-nom-2
+ (package
+ (inherit rust-nom-4.2)
+ (name "rust-nom")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-regex" ,rust-regex-0.2))
+ #:tests? #f))))
+
(define-public rust-nom-1.2
(package
(inherit rust-nom-4.2)
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (22 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14 Joseph LaFreniere
` (11 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-lmdb-rkv-sys-0.11): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 928cc998f9..e7fc291e75 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14135,6 +14135,34 @@ pairs in insertion order.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-lmdb-rkv-sys-0.11
+ (package
+ (name "rust-lmdb-rkv-sys")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lmdb-rkv-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1994mvbdxkvq6c3z9npv1zjpvrhvpk9zry3azgyklyqn4nn70x5j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-bindgen" ,rust-bindgen-0.53)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs
+ `(("lmdb" ,lmdb)))
+ (home-page "https://github.com/mozilla/lmdb-rs")
+ (synopsis "Rust bindings for liblmdb")
+ (description "Rust bindings for liblmdb.")
+ (license license:asl2.0)))
+
(define-public rust-locale-0.2
(package
(name "rust-locale")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (23 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18 Joseph LaFreniere
` (10 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-lmdb-rkv-0.14): 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 e7fc291e75..894ade42fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14135,6 +14135,36 @@ pairs in insertion order.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-lmdb-rkv-0.14
+ (package
+ (name "rust-lmdb-rkv")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lmdb-rkv" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0aylp9j3s34cgxfj3dszcnplj5a594ylykhgnpxrqafag9pjjyj4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-lmdb-rkv-sys" ,rust-lmdb-rkv-sys-0.11))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://github.com/mozilla/lmdb-rs")
+ (synopsis "Idiomatic and safe LMDB wrapper")
+ (description "Idiomatic and safe LMDB wrapper.")
+ (license license:asl2.0)))
+
(define-public rust-lmdb-rkv-sys-0.11
(package
(name "rust-lmdb-rkv-sys")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (24 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1 Joseph LaFreniere
` (9 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.18): New variable.
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 894ade42fa..30f7c1fb7f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13933,6 +13933,47 @@ allocator.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-libsqlite3-sys-0.18
+ (package
+ (name "rust-libsqlite3-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libsqlite3-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ggpbnis0rci97ln628y2v6pkgfhb6zgc8rsp444mkdfph14lw0y"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Enable unstable features
+ (substitute* "src/lib.rs"
+ (("#!\\[allow\\(non_snake_case, non_camel_case_types\\)\\]" all)
+ (string-append "#![feature(non_exhaustive)]\n" all)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ ;; build-dependencies
+ (("rust-bindgen" ,rust-bindgen-0.53)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))))
+ (inputs
+ `(("sqlite" ,sqlite)))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Native bindings to the libsqlite3 library")
+ (description "Native bindings to the libsqlite3 library")
+ (license license:expat)))
+
(define-public rust-libsqlite3-sys-0.15
(package
(name "rust-libsqlite3-sys")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (25 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59 Joseph LaFreniere
` (8 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-serde-stacker-0.1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30f7c1fb7f..145f46c409 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25087,6 +25087,33 @@ for the serde framework.")
"Macros to auto-generate implementations for the serde framework.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serde-stacker-0.1
+ (package
+ (name "rust-serde-stacker")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-stacker" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qlfpy0nmxrvahz4hs9p1y84rb0vy6mbxn1lfgvq6fryls8j7jgl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-stacker" ,rust-stacker-0.1))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/dtolnay/serde-stacker")
+ (synopsis "@code{serde} adapter that avoids stack overflow")
+ (description
+ "This package provides a @code{serde} adapter that avoids stack overflow
+by dynamically growing the stack.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-serde-test-1
(package
(name "rust-serde-test")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (26 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23 Joseph LaFreniere
` (7 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-serde-json-1): Update to 1.0.59.
---
gnu/packages/crates-io.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 145f46c409..08a2609527 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24996,15 +24996,15 @@ for the serde framework.")
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.50")
+ (version "1.0.59")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "serde-json" version))
- (file-name (string-append name "-" version ".crate"))
- (sha256
- (base32
- "0rs8rsk59kgkgsrw8hyyjrlhas9k1by2jwxxqcz3c2bq2qna39vq"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-json" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "15bblpgzbr163sxfxx0h8kacchmiiskypfbah5zmxim1zzdhgb6w"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -25014,11 +25014,11 @@ for the serde framework.")
("rust-ryu" ,rust-ryu-1.0)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (;("rust-automod" ,rust-automod-0.1)
+ (("rust-automod" ,rust-automod-1)
("rust-rustversion" ,rust-rustversion-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-derive" ,rust-serde-derive-1)
- ;("rust-serde-stacker" ,rust-serde-stacker-0.1)
+ ("rust-serde-stacker" ,rust-serde-stacker-0.1)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/serde-rs/json")
(synopsis "JSON serialization file format")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (27 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3 Joseph LaFreniere
` (6 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-rusqlite-0.23): New variable.
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08a2609527..7c6d6a4286 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22667,6 +22667,68 @@ rust.")
console applications.")
(license license:asl2.0)))
+(define-public rust-rusqlite-0.23
+ (package
+ (name "rust-rusqlite")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12z5584sylfqg7v2fyiycahyg0hf186v8v2ff5ad4qyzw5igvl25"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Enable unstable features
+ (substitute* "src/lib.rs"
+ (("#!\\[allow\\(unknown_lints\\)\\]" all)
+ (string-append
+ "#![feature(cfg_doctest)]\n"
+ "#![feature(non_exhaustive)]\n"
+ all)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1.1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+ ("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.18)
+ ("rust-lru-cache" ,rust-lru-cache-0.1)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-unicase" ,rust-unicase-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #:features '("bundled-full")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))))
+ (inputs
+ `(("sqlite" ,sqlite)))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Wrapper for SQLite")
+ (description "This package provides a wrapper for SQLite.")
+ (license license:expat)))
+
(define-public rust-rusqlite-0.19
(package
(name "rust-rusqlite")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (28 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5 Joseph LaFreniere
` (5 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-packed-simd-2-0.3): New variable.
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c6d6a4286..f334e6f842 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18016,6 +18016,52 @@ normally prevent moving a type that has been borrowed from.")
(description "Portable Packed SIMD vectors.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-packed-simd-2-0.3
+ (package
+ (name "rust-packed-simd-2")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "packed-simd-2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05wsm2yxxpwww6a74hi8l80qszisfar5d7whf2pd87wn5x4y0y1j"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Unpin the dependencies.
+ (substitute* "Cargo.toml"
+ (("=0.2.52") "^0.2.52")
+ (("=0.3.2") "^0.3.2"))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-core-arch" ,rust-core-arch-0.1)
+ ("rust-libm" ,rust-libm-0.1)
+ ("rust-sleef-sys" ,rust-sleef-sys-0.1))
+ #:cargo-development-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-paste" ,rust-paste-0.1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))
+ ;; Feature `llvm_asm' only available in nightly.
+ #:skip-build? #t))
+ (home-page "https://github.com/rust-lang/packed_simd")
+ (synopsis "Portable Packed SIMD vectors")
+ (description "Portable Packed SIMD vectors")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pad-0.1
(package
(name "rust-pad")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (29 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10 Joseph LaFreniere
` (4 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-pure-rust-locales-0.5): 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 f334e6f842..7b06fa02ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20620,6 +20620,31 @@ compliant email address validation.")
(description "This package provides a library for async wake signals.")
(license license:asl2.0)))
+(define-public rust-pure-rust-locales-0.5
+ (package
+ (name "rust-pure-rust-locales")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pure-rust-locales" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ryjj0gs4hfadqx9vl4sgi32zyb2dlvwpxca1m1kmrw9hk1g7gv5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-itertools" ,rust-itertools-0.8)
+ ("rust-nom" ,rust-nom-5))))
+ (home-page "https://github.com/cecton/pure-rust-locales")
+ (synopsis "Pure Rust locales imported directly from the GNU C Library")
+ (description
+ "Pure Rust locales imported directly from the GNU C Library.
+@code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
+ (license license:expat)))
+
(define-public rust-quantiles-0.7
(package
(name "rust-quantiles")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (30 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2 Joseph LaFreniere
` (3 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-rkv-0.10): New variable.
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b06fa02ae..960523adb9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22640,6 +22640,44 @@ your own implementation.")
Rust Language Server.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rkv-0.10
+ (package
+ (name "rust-rkv")
+ (version "0.10.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rkv" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14v7izkpwvk4ag8p9machzjq2v10xwimy5ylbra744wpyk0xp8rh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayref" ,rust-arrayref-0.3)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lmdb-rkv" ,rust-lmdb-rkv-0.14)
+ ("rust-ordered-float" ,rust-ordered-float-1.0)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #:cargo-development-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-tempfile" ,rust-tempfile-3))
+ ;; 38 tests pass, 7 fail with "no such file or directory"
+ #:tests? #f))
+ (home-page "https://github.com/mozilla/rkv")
+ (synopsis "Typed key-value storage")
+ (description "This package provides a typed key-value storage solution.")
+ (license license:asl2.0)))
+
(define-public rust-ron-0.5
(package
(name "rust-ron")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (31 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26 Joseph LaFreniere
` (2 subsequent siblings)
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-tree-magic-fork-0.2): New variable.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 960523adb9..16d38c7933 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30485,6 +30485,42 @@ automatically instrumenting functions.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-tree-magic-fork-0.2
+ (package
+ (name "rust-tree-magic-fork")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tree-magic-fork" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bqkd17ih1ixlarjw8p5h5q584j681vmwg1zkww873w2kg523fda"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.8)
+ ("rust-petgraph" ,rust-petgraph-0.5)
+ ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-tabwriter" ,rust-tabwriter-1)
+ ("rust-walkdir" ,rust-walkdir-2))
+ #:features '("cli")
+ ;; "error[E0463]: can't find crate for `tree_magic`"
+ #:skip-build? #t))
+ (home-page "https://github.com/aahancoc/tree_magic")
+ (synopsis "Determine MIME type efficiently")
+ (description
+ "This package determines the MIME types of files by traversing a tree of
+filetypes.")
+ (license license:expat)))
+
(define-public rust-treeline-0.1
(package
(name "rust-treeline")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (32 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Joseph LaFreniere
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-encoding-rs-0.8): Update to 0.8.26.
---
gnu/packages/crates-io.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16d38c7933..151138035b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7762,7 +7762,7 @@ encodings.")
(define-public rust-encoding-rs-0.8
(package
(name "rust-encoding-rs")
- (version "0.8.17")
+ (version "0.8.26")
(source
(origin
(method url-fetch)
@@ -7771,18 +7771,18 @@ encodings.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1v902qqnbd37vdq4rjvp6k05wmghrasfdcjy30gp1xpjg5f7hma1"))))
+ "10xjcafwbxvm2kfsyymxlz8wc9s4bmdj1xzlc809rxyp2yrbl6w0"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-0.1)
- ("rust-packed-simd" ,rust-packed-simd-0.3)
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-packed-simd" ,rust-packed-simd-2-0.3)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-json" ,rust-serde-json-1))))
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:skip-build? #t))
(home-page "https://docs.rs/encoding_rs/")
(synopsis "Gecko-oriented implementation of the Encoding Standard")
(description
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (33 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Joseph LaFreniere
35 siblings, 0 replies; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/crates-io.scm (rust-lzma-sys-0.1): Update to 0.1.17.
---
gnu/packages/crates-io.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 151138035b..fe7d24f69f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14591,18 +14591,18 @@ key-value pairs.")
(define-public rust-lzma-sys-0.1
(package
(name "rust-lzma-sys")
- (version "0.1.15")
+ (version "0.1.17")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "lzma-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))
- (modules '((guix build utils)))
- (snippet
- '(begin (delete-file-recursively "xz-5.2") #t))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lzma-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06fnjsx5cj2w6rsqb12x30nl9lnj0xv4hv78z4x1vlfsxp1vgd5x"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "xz-5.2") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all.
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
` (34 preceding siblings ...)
2020-11-20 14:27 ` [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17 Joseph LaFreniere
@ 2020-11-20 14:27 ` Joseph LaFreniere
2020-12-12 20:19 ` Efraim Flashner
35 siblings, 1 reply; 39+ messages in thread
From: Joseph LaFreniere @ 2020-11-20 14:27 UTC (permalink / raw)
To: 44762; +Cc: Joseph LaFreniere
* gnu/packages/rust-apps.scm (ripgrep-all): New variable.
---
gnu/packages/rust-apps.scm | 80 +++++++++++++++++++++++++++++++++++++-
1 file changed, 79 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index fabb4e0380..e25c858c8f 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -27,15 +27,20 @@
#:use-module (guix build-system cargo)
#:use-module (guix download)
#:use-module (guix packages)
+ #:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
- #:use-module (gnu packages version-control))
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages video))
(define-public exa
(package
@@ -293,6 +298,79 @@ your current directory for a regex pattern while respecting your
gitignore rules.")
(license (list license:unlicense license:expat))))
+(define-public ripgrep-all
+ (package
+ (name "ripgrep-all")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri name version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ppci77wdyxz21mn7qd3pphl3pcl2q9kf1ravc9a9zmv2r9n5gk1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-bzip2" ,rust-bzip2-0.4)
+ ("rust-cachedir" ,rust-cachedir-0.1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-crossbeam" ,rust-crossbeam-0.7)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-exitfailure" ,rust-exitfailure-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-paste" ,rust-paste-0.1)
+ ("rust-path-clean" ,rust-path-clean-0.1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rkv" ,rust-rkv-0.10)
+ ("rust-ruskqlite" ,rust-rusqlite-0.23)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-size-format" ,rust-size-format-1)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tree-magic-fork" ,rust-tree-magic-fork-0.2)
+ ("rust-xz2" ,rust-xz2-0.1)
+ ("rust-zip" ,rust-zip-0.5)
+ ("rust-zstd" ,rust-zstd-0.5))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("xz" ,xz)))
+ (propagated-inputs
+ `(("ffmpeg" ,ffmpeg)
+ ("pandoc" ,pandoc)
+ ("poppler" ,poppler)
+ ("ripgrep" ,ripgrep)
+ ("sqlite" ,sqlite)
+ ("tar" ,tar)
+ ("unzip" ,unzip)
+ ("zip" ,zip)))
+ (home-page "https://github.com/phiresky/ripgrep-all")
+ (synopsis "Wrapper around @code{ripgrep} with support for rich file types")
+ (description
+ "ripgrep-all (rga) is a line-oriented search tool that allows you to look
+for a regex in a multitude of file types. rga wraps @code{ripgrep} and
+enables it to search in @file{pdf}, @file{docx}, @file{sqlite}, @file{jpg},
+movie subtitles (@file{mkv}, @file{mp4}), etc.")
+ (license license:agpl3+)))
+
(define-public rust-cbindgen
(package
(name "rust-cbindgen")
--
2.29.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all.
2020-11-20 14:27 ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Joseph LaFreniere
@ 2020-12-12 20:19 ` Efraim Flashner
0 siblings, 0 replies; 39+ messages in thread
From: Efraim Flashner @ 2020-12-12 20:19 UTC (permalink / raw)
To: Joseph LaFreniere; +Cc: 44762
[-- Attachment #1: Type: text/plain, Size: 2351 bytes --]
I've had reviewing these patches on my TODO for a while, finally made it
around to it.
On Fri, Nov 20, 2020 at 08:27:16AM -0600, Joseph LaFreniere wrote:
> * gnu/packages/rust-apps.scm (ripgrep-all): New variable.
> ---
> gnu/packages/rust-apps.scm | 80 +++++++++++++++++++++++++++++++++++++-
> 1 file changed, 79 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
> + (add-after 'unpack 'enable-unstable-features
> + (lambda _
> + (setenv "RUSTC_BOOTSTRAP" "1")
> + #t)))))
Is this necessary, or is it because we were using an older version of
rust for building packages?
> + (native-inputs
> + `(("pkg-config" ,pkg-config)
> + ("xz" ,xz)))
> + (propagated-inputs
> + `(("ffmpeg" ,ffmpeg)
> + ("pandoc" ,pandoc)
> + ("poppler" ,poppler)
> + ("ripgrep" ,ripgrep)
> + ("sqlite" ,sqlite)
> + ("tar" ,tar)
> + ("unzip" ,unzip)
> + ("zip" ,zip)))
We prefer to not propagate packages, and in particular I try not to use
pandoc as an input because it limits the package to architectures that
can build haskell programs. Looking through the code a bit it looks like
it shells out to the commands. So it'd be better to substitute the
commands to the full path name of the package (what I'd suggest for
ripgrep) and/or adding a note to the description suggesting that people
also install some of the other packages for more features.
> + (home-page "https://github.com/phiresky/ripgrep-all")
> + (synopsis "Wrapper around @code{ripgrep} with support for rich file types")
> + (description
> + "ripgrep-all (rga) is a line-oriented search tool that allows you to look
> +for a regex in a multitude of file types. rga wraps @code{ripgrep} and
> +enables it to search in @file{pdf}, @file{docx}, @file{sqlite}, @file{jpg},
> +movie subtitles (@file{mkv}, @file{mp4}), etc.")
> + (license license:agpl3+)))
> +
> (define-public rust-cbindgen
> (package
> (name "rust-cbindgen")
> --
> 2.29.1
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
end of thread, other threads:[~2020-12-12 20:47 UTC | newest]
Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-20 14:15 [bug#44762] [PATCH 00/37] gnu: Add ripgrep-all Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1 Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17 Joseph LaFreniere
2020-11-20 14:27 ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Joseph LaFreniere
2020-12-12 20:19 ` Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.