* [bug#52609] [PATCH 01/42] gnu: rust-nettle: Update to 7.0.2.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52611] [PATCH 02/42] gnu: rust-criterion-0.3: Update to 0.3.4 Hartmut Goebel
` (41 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52609
The patch file is still required for rust-nettle-5.
* gnu/packages/crates-io.scm (rust-nettle): Update to 7.0.2.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 28bc88c887..0bcc5e0f52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31644,15 +31644,14 @@ types as proposed in RFC 1158.")
(define-public rust-nettle-7
(package
(name "rust-nettle")
- (version "7.0.0")
+ (version "7.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "nettle" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1n6dwy9zba8853bmxzhwaashd3np0wxpx0pj43brm0hb8n2sxbxi"))
- (patches (search-patches "rust-nettle-disable-vendor.patch"))))
+ (base32 "1dzd7jb8bks4gyv6qdbnz2041j3m760d7idj0gxxmq04rsbfzfid"))))
(build-system cargo-build-system)
(native-inputs
(list pkg-config))
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52611] [PATCH 02/42] gnu: rust-criterion-0.3: Update to 0.3.4.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
2021-12-18 20:49 ` [bug#52609] [PATCH 01/42] gnu: rust-nettle: Update to 7.0.2 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52612] [PATCH 03/42] gnu: rust-serde-1: Update to 1.0.126 Hartmut Goebel
` (40 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52611
* gnu/packages/crates-io.scm (rust-criterion-0.3): Update to 0.3.4.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0bcc5e0f52..a89e6d3031 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11431,7 +11431,7 @@ final xor value. It has many built-in CRC functions.")
(define-public rust-criterion-0.3
(package
(name "rust-criterion")
- (version "0.3.3")
+ (version "0.3.4")
(source
(origin
(method url-fetch)
@@ -11439,8 +11439,7 @@ final xor value. It has many built-in CRC functions.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1n24l95pgjig4nfhgm3vn9gxb49ky5ylr8390scl7wbcxk7agnkh"))))
+ (base32 "08rx789365x6l9kbsg2r9c5yg25rd3pj1giwyhpcqis56pbpwcmb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52612] [PATCH 03/42] gnu: rust-serde-1: Update to 1.0.126.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
2021-12-18 20:49 ` [bug#52609] [PATCH 01/42] gnu: rust-nettle: Update to 7.0.2 Hartmut Goebel
2021-12-18 20:49 ` [bug#52611] [PATCH 02/42] gnu: rust-criterion-0.3: Update to 0.3.4 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52613] [PATCH 04/42] gnu: rust-serde-derive-1: " Hartmut Goebel
` (39 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52612
* gnu/packages/crates-io.scm (rust-serde-1): Update to 1.0.126.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a89e6d3031..a775cdb0e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46728,15 +46728,14 @@ rules are rather complex. This crate implements the whole grammar." )
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.123")
+ (version "1.0.126")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1bk9733mgiv5sg8yb19y8mc85fb2aaqp1k02v10alavj688idmcj"))))
+ (base32 "00vdk7y3j8h2xv28a2i2ad1d19g5iwrdknbq8yp79v6axamhaxgc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52613] [PATCH 04/42] gnu: rust-serde-derive-1: Update to 1.0.126.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (2 preceding siblings ...)
2021-12-18 20:49 ` [bug#52612] [PATCH 03/42] gnu: rust-serde-1: Update to 1.0.126 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52614] [PATCH 05/42] gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.24 Hartmut Goebel
` (38 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52613
* gnu/packages/crates-io.scm (rust-serde-derive-1): Update to 1.0.126.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a775cdb0e1..3a801f3c96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47126,15 +47126,14 @@ TOML/JSON/MessagePack strings and serializable values.")
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.123")
+ (version "1.0.126")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0ccg4m7ww6mfs5vjdbdifri2kf1wyd4difjnqnraph2gssaw54ck"))))
+ (base32 "0hsdh39qj0g187nwndfzg67q4qajbm5g6x0fr5xarblmk2y7sfln"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52614] [PATCH 05/42] gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.24.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (3 preceding siblings ...)
2021-12-18 20:49 ` [bug#52613] [PATCH 04/42] gnu: rust-serde-derive-1: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52615] [PATCH 06/42] gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.24 Hartmut Goebel
` (37 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52614
* gnu/packages/crates-io.scm (rust-wasm-bindgen-futures-0.4): Update to 0.4.24.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a801f3c96..a29d3be6e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60781,7 +60781,7 @@ wasm-bindgen.")
(define-public rust-wasm-bindgen-futures-0.4
(package
(name "rust-wasm-bindgen-futures")
- (version "0.4.19")
+ (version "0.4.24")
(source
(origin
(method url-fetch)
@@ -60789,8 +60789,7 @@ wasm-bindgen.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0d8fg2k4a4xyv28japgld7qzy2zyrnvh582pjkp88id8hmh7bs8z"))))
+ (base32 "1wb75qgv91qjblv685hnka2fn3w4fp0wi05cs3i3rmbrqrw7kfjz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52615] [PATCH 06/42] gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.24.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (4 preceding siblings ...)
2021-12-18 20:49 ` [bug#52614] [PATCH 05/42] gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.24 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52616] [PATCH 07/42] gnu: rust-wasm-bindgen-test-macro-0.3: " Hartmut Goebel
` (36 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52615
* gnu/packages/crates-io.scm (rust-wasm-bindgen-test-0.3): Update to 0.3.24.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a29d3be6e7..b3388eeb37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60915,7 +60915,7 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-test-0.3
(package
(name "rust-wasm-bindgen-test")
- (version "0.3.19")
+ (version "0.3.24")
(source
(origin
(method url-fetch)
@@ -60923,8 +60923,7 @@ attribute that is not in the shared backend crate.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "09aas82c1i249bmzjwj9szk727nm4jzaidnwnq4jlycv3w6glm83"))))
+ (base32 "1s5sw7aaq65pndcrvp0bisq4cc63n1ajvn9fi316814pkdm43awc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52616] [PATCH 07/42] gnu: rust-wasm-bindgen-test-macro-0.3: Update to 0.3.24.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (5 preceding siblings ...)
2021-12-18 20:49 ` [bug#52615] [PATCH 06/42] gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.24 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52617] [PATCH 08/42] gnu: rust-wasm-bindgen-0.2: Update to 0.2.74 Hartmut Goebel
` (35 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52616
* gnu/packages/crates-io.scm (rust-wasm-bindgen-test-macro-0.3): Update to 0.3.24.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3388eeb37..a4e8680373 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61015,7 +61015,7 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-test-macro-0.3
(package
(name "rust-wasm-bindgen-test-macro")
- (version "0.3.19")
+ (version "0.3.24")
(source
(origin
(method url-fetch)
@@ -61023,8 +61023,7 @@ attribute that is not in the shared backend crate.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "12s3h3g1f81afv0rk8idgw2mylgh5q6a30wy5yxc4940p537pq17"))))
+ (base32 "10p7s3zg8pinmb99yi5sgrnqbgf69h821xwbv7q1wm7kdky46ifx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52617] [PATCH 08/42] gnu: rust-wasm-bindgen-0.2: Update to 0.2.74.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (6 preceding siblings ...)
2021-12-18 20:49 ` [bug#52616] [PATCH 07/42] gnu: rust-wasm-bindgen-test-macro-0.3: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52618] [PATCH 09/42] gnu: rust-wasm-bindgen-backend-0.2: " Hartmut Goebel
` (34 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52617
* gnu/packages/crates-io.scm (rust-wasm-bindgen-0.2): Update to 0.2.74.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a4e8680373..913ca61058 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60691,7 +60691,7 @@ in Rust.")
(define-public rust-wasm-bindgen-0.2
(package
(name "rust-wasm-bindgen")
- (version "0.2.69")
+ (version "0.2.74")
(source
(origin
(method url-fetch)
@@ -60699,8 +60699,7 @@ in Rust.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0vkkpz290k6pphmrgkayzdvk1dinxrp6c5zvr9l0zjlm2dsn9lrw"))))
+ (base32 "1zcp57mwb47vdw3r594cl7vbj6pwd503xrkq8a3phvs8xpaf2knm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52618] [PATCH 09/42] gnu: rust-wasm-bindgen-backend-0.2: Update to 0.2.74.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (7 preceding siblings ...)
2021-12-18 20:49 ` [bug#52617] [PATCH 08/42] gnu: rust-wasm-bindgen-0.2: Update to 0.2.74 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52619] [PATCH 10/42] gnu: rust-wasm-bindgen-macro-0.2: " Hartmut Goebel
` (33 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52618
* gnu/packages/crates-io.scm (rust-wasm-bindgen-backend-0.2): Update to 0.2.74.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 913ca61058..d28614265e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60725,7 +60725,7 @@ in Rust.")
(define-public rust-wasm-bindgen-backend-0.2
(package
(name "rust-wasm-bindgen-backend")
- (version "0.2.69")
+ (version "0.2.74")
(source
(origin
(method url-fetch)
@@ -60733,8 +60733,7 @@ in Rust.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0qidxjmcn50v2i5hjz7al69sa3mbq0lbi276amdnw47ln6dgh50i"))))
+ (base32 "005ra6jc8pm1y2wi6swkvn34r2is3knv5f2dv59ymkscd6hgccrv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52619] [PATCH 10/42] gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.74.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (8 preceding siblings ...)
2021-12-18 20:49 ` [bug#52618] [PATCH 09/42] gnu: rust-wasm-bindgen-backend-0.2: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52620] [PATCH 11/42] gnu: rust-wasm-bindgen-macro-support-0.2: " Hartmut Goebel
` (32 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52619
* gnu/packages/crates-io.scm (rust-wasm-bindgen-macro-0.2): Update to 0.2.74.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d28614265e..1ee2961677 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60834,7 +60834,7 @@ wasm-bindgen.")
(define-public rust-wasm-bindgen-macro-0.2
(package
(name "rust-wasm-bindgen-macro")
- (version "0.2.69")
+ (version "0.2.74")
(source
(origin
(method url-fetch)
@@ -60842,8 +60842,7 @@ wasm-bindgen.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "113hyzn0dpqasznzcwgmqw03i5yhjkqna7paim50h7xdbscwhsks"))))
+ (base32 "1m4bn6wlzc2rkp693zgnn7kh05r5fm4w55l0igjy23s3c756k088"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; 'Async blocks are unstable'
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52620] [PATCH 11/42] gnu: rust-wasm-bindgen-macro-support-0.2: Update to 0.2.74.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (9 preceding siblings ...)
2021-12-18 20:49 ` [bug#52619] [PATCH 10/42] gnu: rust-wasm-bindgen-macro-0.2: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52621] [PATCH 12/42] gnu: rust-wasm-bindgen-shared-0.2: " Hartmut Goebel
` (31 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52620
* gnu/packages/crates-io.scm (rust-wasm-bindgen-macro-support-0.2): Update to 0.2.74.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ee2961677..f6340d7de7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60864,7 +60864,7 @@ dependency.")
(define-public rust-wasm-bindgen-macro-support-0.2
(package
(name "rust-wasm-bindgen-macro-support")
- (version "0.2.69")
+ (version "0.2.74")
(source
(origin
(method url-fetch)
@@ -60872,8 +60872,7 @@ dependency.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0jbmgj8zxflza1cl15k3r70fqsak4bkkfbn6qxbhbn4ry9r8r95m"))))
+ (base32 "15vsk3q4jfk8ax4walc8vy3fgvrpkg86vjz2ym0z5ngk5xa428my"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52621] [PATCH 12/42] gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.74.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (10 preceding siblings ...)
2021-12-18 20:49 ` [bug#52620] [PATCH 11/42] gnu: rust-wasm-bindgen-macro-support-0.2: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52622] [PATCH 13/42] gnu: rust-js-sys-0.3: Update to 0.3.51 Hartmut Goebel
` (30 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52621
* gnu/packages/crates-io.scm (rust-wasm-bindgen-shared-0.2): Update to 0.2.74.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6340d7de7..655769f2f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60891,15 +60891,14 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-shared-0.2
(package
(name "rust-wasm-bindgen-shared")
- (version "0.2.69")
+ (version "0.2.74")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasm-bindgen-shared" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0n3ir6gq27np22l6m96y342a6fphk1pkbzbfqx6g364kgzfi2y3y"))))
+ (base32 "0ksbnhjzvnsmzc1n18bs98swnrzrwxjrpx3clrsyv3pip1vgikyp"))))
(build-system cargo-build-system)
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52622] [PATCH 13/42] gnu: rust-js-sys-0.3: Update to 0.3.51.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (11 preceding siblings ...)
2021-12-18 20:49 ` [bug#52621] [PATCH 12/42] gnu: rust-wasm-bindgen-shared-0.2: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52623] [PATCH 14/42] gnu: rust-web-sys-0.3: " Hartmut Goebel
` (29 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52622
* gnu/packages/crates-io.scm (rust-js-sys-0.3): Update to 0.3.51.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 655769f2f2..068de06a45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25783,7 +25783,7 @@ JSON-RPC 2.0 specification.")
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")
- (version "0.3.46")
+ (version "0.3.51")
(source
(origin
(method url-fetch)
@@ -25791,8 +25791,7 @@ JSON-RPC 2.0 specification.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0xc1llkp23q8ac2wdwh46y6gjbc34prrd98g5my9qz4zja1p6gfg"))))
+ (base32 "0qkhnsidcx4vkgacn4hhl6bf6lxhc3lljfzpad11ms50wfngpgc3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52623] [PATCH 14/42] gnu: rust-web-sys-0.3: Update to 0.3.51.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (12 preceding siblings ...)
2021-12-18 20:49 ` [bug#52622] [PATCH 13/42] gnu: rust-js-sys-0.3: Update to 0.3.51 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52624] [PATCH 15/42] gnu: rust-version-compare 0.0.11: Fix variable name Hartmut Goebel
` (28 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52623
* gnu/packages/crates-io.scm (rust-web-sys-0.3): Update to 0.3.51.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 068de06a45..269fcbd3fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61172,7 +61172,7 @@ for terminal and other window-less applications.")
(define-public rust-web-sys-0.3
(package
(name "rust-web-sys")
- (version "0.3.37")
+ (version "0.3.51")
(source
(origin
(method url-fetch)
@@ -61180,8 +61180,7 @@ for terminal and other window-less applications.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1jy4q5jawzg3dxzhfwa0g3fsz7h4j0ra6y232ikc6mlcimj52vrd"))))
+ (base32 "10p514z7zmwzxqll0z0zqhlswv3hadbrwais3l8zfgcz6xxl2a78"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52624] [PATCH 15/42] gnu: rust-version-compare 0.0.11: Fix variable name.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (13 preceding siblings ...)
2021-12-18 20:49 ` [bug#52623] [PATCH 14/42] gnu: rust-web-sys-0.3: " Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52625] [PATCH 16/42] gnu: Add rust-ttf-parser-0.12 Hartmut Goebel
` (27 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52624
In semanic versioning, the last non-zero numer is relevant. 0.0.10 is not
expected to be compatible with 0.0.11.
* gnu/packages/crates-io.scm: (rust-version-compare-0.0.11): Rename from …
(rust-version-compare-0.0): … this, which becomes an alias of the former.
(rust-system-deps-1)[source]<snippet>: Use new version string.
[arguments]<#:cargo-inputs>: Use new variable name.
---
gnu/packages/crates-io.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 269fcbd3fb..15288f6919 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52721,7 +52721,7 @@ processors, disks, components and networks.")
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
- (("0.0.10") "0.0"))
+ (("0.0.10") "0.0.11"))
#t))))
(build-system cargo-build-system)
(arguments
@@ -52733,7 +52733,7 @@ processors, disks, components and networks.")
("rust-strum-macros" ,rust-strum-macros-0.18)
("rust-thiserror" ,rust-thiserror-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-version-compare" ,rust-version-compare-0.0))
+ ("rust-version-compare" ,rust-version-compare-0.0.11))
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.9))))
(home-page "https://github.com/gdesmott/system-deps")
@@ -60180,7 +60180,7 @@ If that fails, no determination is made, and calls return None.")
(base32
"1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
-(define-public rust-version-compare-0.0
+(define-public rust-version-compare-0.0.11
(package
(name "rust-version-compare")
(version "0.0.11")
@@ -60200,6 +60200,8 @@ If that fails, no determination is made, and calls return None.")
numbers, and test them against various comparison operators.")
(license license:expat)))
+(define-public rust-version-compare-0.0 rust-version-compare-0.0.11)
+
(define-public rust-version-sync-0.8
(package
(name "rust-version-sync")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52625] [PATCH 16/42] gnu: Add rust-ttf-parser-0.12.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (14 preceding siblings ...)
2021-12-18 20:49 ` [bug#52624] [PATCH 15/42] gnu: rust-version-compare 0.0.11: Fix variable name Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52626] [PATCH 17/42] gnu: Add rust-gif-0.11 Hartmut Goebel
` (26 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52625
* gnu/packages/crates-io.scm (rust-ttf-parser-0.12): New variable.
(rust-ttf-parser-0.6): Inherit from rust-ttf-parser-0.12.
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15288f6919..331ad27e6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
-;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2019, 2020, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
@@ -58375,17 +58375,17 @@ the Trust-DNS client to use rustls for TLS.")
"Test harness for ui tests of compiler diagnostics.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ttf-parser-0.6
+(define-public rust-ttf-parser-0.12
(package
(name "rust-ttf-parser")
- (version "0.6.2")
+ (version "0.12.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "ttf-parser" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ttf-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l3wzhhvcp58phz53rcc9cx4x7adr3srkpvy6hznmhmf71vhjmhw"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/RazrFalcon/ttf-parser")
@@ -58395,6 +58395,20 @@ the Trust-DNS client to use rustls for TLS.")
parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ttf-parser-0.6
+ (package
+ (inherit rust-ttf-parser-0.12)
+ (name "rust-ttf-parser")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ttf-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+ (arguments `(#:skip-build? #t))))
+
(define-public rust-tui-0.16
(package
(name "rust-tui")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52626] [PATCH 17/42] gnu: Add rust-gif-0.11.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (15 preceding siblings ...)
2021-12-18 20:49 ` [bug#52625] [PATCH 16/42] gnu: Add rust-ttf-parser-0.12 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52627] [PATCH 18/42] gnu: Add rust-fallible-collections-0.3 Hartmut Goebel
` (25 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52626
* gnu/packages/crates-io.scm (rust-gif-0.11): 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 331ad27e6c..d65b3da520 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21059,6 +21059,28 @@ authenticated encryption cipher.")
(("rust-polyval" ,rust-polyval-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
+(define-public rust-gif-0.11
+ (package
+ (name "rust-gif")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gif" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pnqfg0k84v0cnqyf85jqvwy3jcs580bfjaps5rzbl3kk5lqyrjs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-color-quant" ,rust-color-quant-1)
+ ("rust-weezl" ,rust-weezl-0.1))))
+ (home-page "https://github.com/image-rs/image-gif")
+ (synopsis "GIF de- and encoder")
+ (description "This crate provides a GIF de- and encoder.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gimli-0.23
(package
(name "rust-gimli")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52627] [PATCH 18/42] gnu: Add rust-fallible-collections-0.3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (16 preceding siblings ...)
2021-12-18 20:49 ` [bug#52626] [PATCH 17/42] gnu: Add rust-gif-0.11 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52628] [PATCH 19/42] gnu: Add rust-target-lexicon-0.11 Hartmut Goebel
` (24 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52627
* gnu/packages/crates-io.scm (rust-fallible-collections-0.3): 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 d65b3da520..ca9d86c3ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17641,6 +17641,28 @@ a result when an allocation error occurs, ala
fallible format macro.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fallible-collections-0.3
+ (package
+ (name "rust-fallible-collections")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fallible_collections" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1shgcljh6pliv1b1qk6knk2hzig5ah76hx01f1icpgkiqp6fi6cm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hashbrown" ,rust-hashbrown-0.9))))
+ (home-page "https://github.com/vcombey/fallible_collections.git")
+ (synopsis "Fallible allocation API for standard collections")
+ (description "This crate adds fallible allocation API to standard
+collections.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-failure-0.1
(package
(name "rust-failure")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52628] [PATCH 19/42] gnu: Add rust-target-lexicon-0.11.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (17 preceding siblings ...)
2021-12-18 20:49 ` [bug#52627] [PATCH 18/42] gnu: Add rust-fallible-collections-0.3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52629] [PATCH 20/42] gnu: Add rust-dcv-color-primitives-0.1 Hartmut Goebel
` (23 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52628
* gnu/packages/crates-io.scm (rust-target-lexicon-0.11): New variable,
update home-page.
(rust-target-lexicon-0.10): Inherit from rust-target-lexicon-0.11.
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ca9d86c3ef..b6f8be1daa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52952,8 +52952,27 @@ memory all at once.")
@code{build.rs} scripts.")
(license (list license:isc license:asl2.0))))
+(define-public rust-target-lexicon-0.11
+ (package
+ (name "rust-target-lexicon")
+ (version "0.11.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "target-lexicon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0khq669rji1l0liv9mdxvddklqhxxpk6r06wbdhc18hiilw9xck2"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/bytecodealliance/target-lexicon")
+ (synopsis "Targeting utilities for compilers and related tools")
+ (description "Targeting utilities for compilers and related tools")
+ (license license:asl2.0)))
+
(define-public rust-target-lexicon-0.10
(package
+ (inherit rust-target-lexicon-0.11)
(name "rust-target-lexicon")
(version "0.10.0")
(source
@@ -52965,15 +52984,7 @@ memory all at once.")
(sha256
(base32
"17diw9c3d1vb5rmwwk2ghsyhfs0gj5jm78hrwxxhmd67vhw743mb"))))
- (build-system cargo-build-system)
- (arguments `(#:skip-build? #t))
- (home-page
- "https://github.com/CraneStation/target-lexicon")
- (synopsis
- "Targeting utilities for compilers and related tools")
- (description
- "Targeting utilities for compilers and related tools")
- (license license:asl2.0)))
+ (arguments `(#:skip-build? #t))))
(define-public rust-tectonic-bridge-core-0.3
(package
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52629] [PATCH 20/42] gnu: Add rust-dcv-color-primitives-0.1.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (18 preceding siblings ...)
2021-12-18 20:49 ` [bug#52628] [PATCH 19/42] gnu: Add rust-target-lexicon-0.11 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52630] [PATCH 21/42] gnu: Add rust-cfg-expr-0.7 Hartmut Goebel
` (22 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52629
* gnu/packages/crates-io.scm (rust-dcv-color-primitives-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 b6f8be1daa..b9dccd0b84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13823,6 +13823,28 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!")
"This crate is a framework for writing D-Bus method handlers (legacy).")
(license (list license:asl2.0 license:expat))))
+(define-public rust-dcv-color-primitives-0.1
+ (package
+ (name "rust-dcv-color-primitives")
+ (version "0.1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dcv-color-primitives" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yrm1qipdmadynhjgz1bvdh42ph9azvwg8v43c8ywr8vlx9qvaq2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+ (home-page "https://github.com/aws/dcv-color-primitives")
+ (synopsis "Image color model conversion")
+ (description "A library to perform image color model conversion.")
+ (license (license:non-copyleft "file:///LICENSE"
+ "SPDX: MIT-0 ; MIT No Attribution"))))
+
(define-public rust-deadpool-0.7
(package
(name "rust-deadpool")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52630] [PATCH 21/42] gnu: Add rust-cfg-expr-0.7.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (19 preceding siblings ...)
2021-12-18 20:49 ` [bug#52629] [PATCH 20/42] gnu: Add rust-dcv-color-primitives-0.1 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52631] [PATCH 22/42] gnu: Add rust-system-deps-3 Hartmut Goebel
` (21 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52630
* gnu/packages/crates-io.scm (rust-cfg-expr-0.7): 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 b9dccd0b84..f5f17c6743 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8646,6 +8646,29 @@ that need to represent UTF-16 data as 8-bit characters.")
winded @code{#[cfg()]} checks.")
(license license:expat)))
+(define-public rust-cfg-expr-0.7
+ (package
+ (name "rust-cfg-expr")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-expr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sn2mw7s2i9qr5mrbyarz0mn5vb3iv6z656va6sccf5qzcprxaih"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-smallvec" ,rust-smallvec-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.11))))
+ (home-page "https://github.com/EmbarkStudios/cfg-expr")
+ (synopsis "Parser and evaluator for Rust @code{cfg()} expressions")
+ (description "This package provides a parser and evaluator for Rust
+@code{cfg()} expressions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cfg-if-1
(package
(name "rust-cfg-if")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52631] [PATCH 22/42] gnu: Add rust-system-deps-3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (20 preceding siblings ...)
2021-12-18 20:49 ` [bug#52630] [PATCH 21/42] gnu: Add rust-cfg-expr-0.7 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52632] [PATCH 23/42] gnu: Add rust-pathfinder-simd-0.5 Hartmut Goebel
` (20 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52631
* gnu/packages/crates-io.scm (rust-system-deps-3): New variable.
(rust-system-deps-1): Inherit form rust-system-deps-3.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++--------
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f5f17c6743..eb6d2319ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52796,8 +52796,42 @@ processors, disks, components and networks.")
(description "Send log messages to syslog.")
(license license:expat)))
+(define-public rust-system-deps-3
+ (package
+ (name "rust-system-deps")
+ (version "3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "system-deps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w7avfcqdp6wkix8yhfk4wpbr9z9x7507l54crqc06mwsxx10j62"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cfg-expr" ,rust-cfg-expr-0.7)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-strum" ,rust-strum-0.20)
+ ("rust-strum-macros" ,rust-strum-macros-0.20)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-version-compare" ,rust-version-compare-0.0.11))))
+ (home-page "https://github.com/gdesmott/system-deps")
+ (synopsis "Define system dependencies in @file{Cargo.toml}")
+ (description
+ "This crate lets you write system dependencies in @file{Cargo.toml}
+metadata, rather than programmatically in @file{build.rs}. This makes those
+dependencies declarative, so other tools can read them as well.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-system-deps-1
(package
+ (inherit rust-system-deps-3)
(name "rust-system-deps")
(version "1.3.2")
(source
@@ -52812,7 +52846,6 @@ processors, disks, components and networks.")
'(begin (substitute* "Cargo.toml"
(("0.0.10") "0.0.11"))
#t))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;source is missing some test files
#:cargo-inputs
@@ -52824,14 +52857,7 @@ processors, disks, components and networks.")
("rust-toml" ,rust-toml-0.5)
("rust-version-compare" ,rust-version-compare-0.0.11))
#:cargo-development-inputs
- (("rust-itertools" ,rust-itertools-0.9))))
- (home-page "https://github.com/gdesmott/system-deps")
- (synopsis "Define system dependencies in @file{Cargo.toml}")
- (description
- "This crate lets you write system dependencies in @file{Cargo.toml}
-metadata, rather than programmatically in @file{build.rs}. This makes those
-dependencies declarative, so other tools can read them as well.")
- (license (list license:expat license:asl2.0))))
+ (("rust-itertools" ,rust-itertools-0.9))))))
(define-public rust-tabwriter-1
(package
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52632] [PATCH 23/42] gnu: Add rust-pathfinder-simd-0.5.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (21 preceding siblings ...)
2021-12-18 20:49 ` [bug#52631] [PATCH 22/42] gnu: Add rust-system-deps-3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52633] [PATCH 24/42] gnu: Add rust-pathfinder-geometry-0.5 Hartmut Goebel
` (19 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52632
* gnu/packages/crates-io.scm (rust-pathfinder-simd-0.5): 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 eb6d2319ec..a9f8a55256 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35879,6 +35879,27 @@ directory path to the provided path.")
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+(define-public rust-pathfinder-simd-0.5
+ (package
+ (name "rust-pathfinder-simd")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathfinder_simd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zx6yjch2zwlnbrsq3ljnkwzs9jdf4cbh5wwjkjradahqnn4dzir"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.3))))
+ (home-page "https://github.com/servo/pathfinder")
+ (synopsis "Simple SIMD library")
+ (description "This package provides a simple SIMD library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pbkdf2-0.4
(package
(name "rust-pbkdf2")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52633] [PATCH 24/42] gnu: Add rust-pathfinder-geometry-0.5.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (22 preceding siblings ...)
2021-12-18 20:49 ` [bug#52632] [PATCH 23/42] gnu: Add rust-pathfinder-simd-0.5 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52634] [PATCH 25/42] gnu: Add rust-freetype-0.7 Hartmut Goebel
` (18 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52633
* gnu/packages/crates-io.scm (rust-pathfinder-geometry-0.5): 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 a9f8a55256..f297bd0fe3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35900,6 +35900,29 @@ directory path to the provided path.")
(description "This package provides a simple SIMD library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pathfinder-geometry-0.5
+ (package
+ (name "rust-pathfinder-geometry")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathfinder_geometry" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5))))
+ (home-page "https://github.com/servo/pathfinder")
+ (synopsis "Basic SIMD-accelerated geometry/linear algebra")
+ (description "This package provides basic SIMD-accelerated geometry/linear
+algebra.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pbkdf2-0.4
(package
(name "rust-pbkdf2")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52634] [PATCH 25/42] gnu: Add rust-freetype-0.7.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (23 preceding siblings ...)
2021-12-18 20:49 ` [bug#52633] [PATCH 24/42] gnu: Add rust-pathfinder-geometry-0.5 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52635] [PATCH 26/42] gnu: Add rust-font-kit-0.10 Hartmut Goebel
` (17 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52634
* gnu/packages/crates-io.scm (rust-freetype-0.7): New variable.
(rust-freetype-0.4): Inherit from rust-freetype-0.7.
---
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++-------------
1 file changed, 29 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f297bd0fe3..3b60e4cf83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19078,31 +19078,46 @@ values to other threads.")
(base32
"1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05"))))))
-(define-public rust-freetype-0.4
+(define-public rust-freetype-0.7
(package
(name "rust-freetype")
- (version "0.4.1")
+ (version "0.7.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "freetype" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0a70x03n68997f08bi3n47q9wyi3pv5s9v4rjc79sihb84mnp4hi"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ijxyd8isq0w7qkbhp7p1y536xg3d8b8vy5ljg31rnz3m5w87qxy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-servo-freetype-sys" ,rust-servo-freetype-sys-4))))
+ (("rust-freetype-sys" ,rust-freetype-sys-0.13)
+ ("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/servo/rust-freetype")
(synopsis "Bindings for Freetype used by Servo")
- (description
- "Bindings for Freetype used by Servo.")
+ (description "Bindings for Freetype used by Servo.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-freetype-0.4
+ (package
+ (inherit rust-freetype-0.7)
+ (name "rust-freetype")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a70x03n68997f08bi3n47q9wyi3pv5s9v4rjc79sihb84mnp4hi"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-servo-freetype-sys" ,rust-servo-freetype-sys-4))))))
+
(define-public rust-freetype-rs-0.26
(package
(name "rust-freetype-rs")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52635] [PATCH 26/42] gnu: Add rust-font-kit-0.10.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (24 preceding siblings ...)
2021-12-18 20:49 ` [bug#52634] [PATCH 25/42] gnu: Add rust-freetype-0.7 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52636] [PATCH 27/42] gnu: Add rust-plotters-backend-0.3 Hartmut Goebel
` (16 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52635
* gnu/packages/crates-io.scm (rust-font-kit-0.10): New variable.
(rust-font-kit-0.4): Inherit from rust-font-kit-0.10.
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++++-----
1 file changed, 40 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b60e4cf83..c3c0f7d105 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18847,8 +18847,47 @@ implementation that is more efficient for smaller hash keys.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-font-kit-0.10
+ (package
+ (name "rust-font-kit")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "font-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a7fm757af2s9sk2i02plpa280mmygjmchcwpjclk1iqxiba3ja6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics" ,rust-core-graphics-0.22)
+ ("rust-core-text" ,rust-core-text-19)
+ ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-dwrote" ,rust-dwrote-0.11)
+ ("rust-float-ord" ,rust-float-ord-0.2)
+ ("rust-freetype" ,rust-freetype-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5)
+ ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5)
+ ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/servo/font-kit")
+ (synopsis "Cross-platform font-loading library")
+ (description "This package provides a cross-platform font-loading
+library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-font-kit-0.4
(package
+ (inherit rust-font-kit-0.10)
(name "rust-font-kit")
(version "0.4.0")
(source
@@ -18882,12 +18921,7 @@ implementation that is more efficient for smaller hash keys.")
("rust-byteorder" ,rust-byteorder-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-core-text" ,rust-core-text-13)
- ("rust-walkdir" ,rust-walkdir-2))))
- (home-page "https://github.com/servo/font-kit")
- (synopsis "Cross-platform font loading library")
- (description
- "This package provides a cross-platform font loading library.")
- (license (list license:expat license:asl2.0))))
+ ("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-foreign-types-0.5
(package
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52636] [PATCH 27/42] gnu: Add rust-plotters-backend-0.3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (25 preceding siblings ...)
2021-12-18 20:49 ` [bug#52635] [PATCH 26/42] gnu: Add rust-font-kit-0.10 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52637] [PATCH 28/42] gnu: Add rust-plotters-bitmap-0.3 Hartmut Goebel
` (15 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52636
* gnu/packages/crates-io.scm (rust-plotters-backend-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 c3c0f7d105..6e4b557694 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37235,6 +37235,25 @@ serialization.")
both WASM and native applications")
(license license:expat)))
+
+(define-public rust-plotters-backend-0.3
+ (package
+ (name "rust-plotters-backend")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-backend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1425kzgyimxxq6n85y1wlhmr4y9vy16lxaiwfpga3cqwvk6zyzxh"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters Backend API")
+ (description "Plotters Backend API")
+ (license license:expat)))
+
(define-public rust-plugin-0.2
(package
(name "rust-plugin")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52637] [PATCH 28/42] gnu: Add rust-plotters-bitmap-0.3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (26 preceding siblings ...)
2021-12-18 20:49 ` [bug#52636] [PATCH 27/42] gnu: Add rust-plotters-backend-0.3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52638] [PATCH 29/42] gnu: Add rust-plotters-svg-0.3 Hartmut Goebel
` (14 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52637
* gnu/packages/crates-io.scm (rust-plotters-bitmap-0.3): 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 6e4b557694..68f4d320ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37254,6 +37254,29 @@ both WASM and native applications")
(description "Plotters Backend API")
(license license:expat)))
+(define-public rust-plotters-bitmap-0.3
+ (package
+ (name "rust-plotters-bitmap")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-bitmap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m0bq3fqrnhgg37k6lz0m328n3ifymc965pxmqc5cpk90nljydi1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-gif" ,rust-gif-0.11)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-plotters-backend" ,rust-plotters-backend-0.3))))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters Bitmap Backend")
+ (description "Plotters Bitmap Backend")
+ (license license:expat)))
+
(define-public rust-plugin-0.2
(package
(name "rust-plugin")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52638] [PATCH 29/42] gnu: Add rust-plotters-svg-0.3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (27 preceding siblings ...)
2021-12-18 20:49 ` [bug#52637] [PATCH 28/42] gnu: Add rust-plotters-bitmap-0.3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52639] [PATCH 30/42] gnu: Add rust-plotters-0.3 Hartmut Goebel
` (13 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52638
* gnu/packages/crates-io.scm (rust-plotters-svg-0.3): 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 68f4d320ec..ffd0dff0de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37277,6 +37277,27 @@ both WASM and native applications")
(description "Plotters Bitmap Backend")
(license license:expat)))
+(define-public rust-plotters-svg-0.3
+ (package
+ (name "rust-plotters-svg")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04fj393irdjb4mavcdwwk1bjnw7gqjp668415a24nq6r7gi052mk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-plotters-backend" ,rust-plotters-backend-0.3))))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters SVG backend")
+ (description "Plotters SVG backend")
+ (license license:expat)))
+
(define-public rust-plugin-0.2
(package
(name "rust-plugin")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52639] [PATCH 30/42] gnu: Add rust-plotters-0.3.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (28 preceding siblings ...)
2021-12-18 20:49 ` [bug#52638] [PATCH 29/42] gnu: Add rust-plotters-svg-0.3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52640] [PATCH 31/42] gnu: Add rust-buffered-reader-1 Hartmut Goebel
` (12 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52639
* gnu/packages/crates-io.scm (rust-plotters-0.3): New variable.
(rust-plotters-0.2): Inherit from rust-plotters-0.3.
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffd0dff0de..5415aae866 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37198,8 +37198,41 @@ serialization.")
("rust-humantime" ,rust-humantime-1)
("rust-byteorder" ,rust-byteorder-1))))))
+(define-public rust-plotters-0.3
+ (package
+ (name "rust-plotters")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0akgmm5kqghl2b1q1qkzjggiqnb9smaz54fd5374k5qbqfggv8rj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-font-kit" ,rust-font-kit-0.10)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5)
+ ("rust-plotters-backend" ,rust-plotters-backend-0.3)
+ ("rust-plotters-bitmap" ,rust-plotters-bitmap-0.3)
+ ("rust-plotters-svg" ,rust-plotters-svg-0.3)
+ ("rust-ttf-parser" ,rust-ttf-parser-0.12)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3))))
+ (home-page "https://github.com/38/plotters")
+ (synopsis "Rust drawing library focus on data plotting")
+ (description "This package provides a Rust drawing library focus on data
+plotting for both WASM and native applications")
+ (license license:expat)))
+
(define-public rust-plotters-0.2
(package
+ (inherit rust-plotters-0.3)
(name "rust-plotters")
(version "0.2.12")
(source
@@ -37211,7 +37244,6 @@ serialization.")
(sha256
(base32
"1ssycy9an23vs9hq098c7kl1dvp5ych20d994lhsw9vx4kdbhfsf"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -37227,13 +37259,7 @@ serialization.")
("rust-palette" ,rust-palette-0.5)
("rust-cairo-rs" ,rust-cairo-rs-0.7)
("rust-rusttype" ,rust-rusttype-0.8)
- ("rust-lazy-static" ,rust-lazy-static-1))))
- (home-page "https://github.com/38/plotters")
- (synopsis "Rust drawing library focus on data plotting")
- (description
- "This package provides a Rust drawing library focus on data plotting for
-both WASM and native applications")
- (license license:expat)))
+ ("rust-lazy-static" ,rust-lazy-static-1))))))
(define-public rust-plotters-backend-0.3
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52640] [PATCH 31/42] gnu: Add rust-buffered-reader-1.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (29 preceding siblings ...)
2021-12-18 20:49 ` [bug#52639] [PATCH 30/42] gnu: Add rust-plotters-0.3 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52641] [PATCH 32/42] gnu: Add rust-xxhash-rust-0.8 Hartmut Goebel
` (11 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52640
* gnu/packages/crates-io.scm (rust-buffered-reader-1): New variable.
(rust-buffered-reader-0.9): Inherit from rust-buffered-reader-1.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5415aae866..7437d3cec3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6903,23 +6903,22 @@ UTF-8.")
@code{std::io}, with extra features.")
(license (list license:expat license:asl2.0))))
-(define-public rust-buffered-reader-0.9
+(define-public rust-buffered-reader-1
(package
(name "rust-buffered-reader")
- (version "0.9.0")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "buffered-reader" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
+ (base32 "02az1rcnxhiq2093lkkd1imjda1h911qii4hh0srq8g2p0w42anp"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-bzip2" ,rust-bzip2-0.3)
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bzip2" ,rust-bzip2-0.4)
("rust-flate2" ,rust-flate2-1)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://sequoia-pgp.org/")
@@ -6932,6 +6931,24 @@ system calls. Second, exposing the internal buffer allows the user to work
with data in place, which avoids another copy.")
(license license:gpl3)))
+(define-public rust-buffered-reader-0.9
+ (package
+ (inherit rust-buffered-reader-1)
+ (name "rust-buffered-reader")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffered-reader" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bzip2" ,rust-bzip2-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-buffering-0.4
(package
(name "rust-buffering")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52641] [PATCH 32/42] gnu: Add rust-xxhash-rust-0.8.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (30 preceding siblings ...)
2021-12-18 20:49 ` [bug#52640] [PATCH 31/42] gnu: Add rust-buffered-reader-1 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52642] [PATCH 33/42] gnu: Add rust-sequoia-openpgp-1 Hartmut Goebel
` (10 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52641
* gnu/packages/crates-io.scm (rust-xxhash-rust-0.8): 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 7437d3cec3..af194df56b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62884,6 +62884,26 @@ parser.")
"This package provide a utilities for quick shell scripting in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-xxhash-rust-0.8
+ (package
+ (name "rust-xxhash-rust")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xxhash-rust" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v9dk6shls1rsmidf2dxdi3460bn7ingqgvn5mf7prgnxmdy2xg5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/DoumanAsh/xxhash-rust")
+ (synopsis "Implementation of xxHash in Rust")
+ (description "This package provides an implementation of the xxHash
+algorithm in Rust.")
+ (license license:boost1.0)))
+
(define-public rust-xz2-0.1
(package
(name "rust-xz2")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52642] [PATCH 33/42] gnu: Add rust-sequoia-openpgp-1.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (31 preceding siblings ...)
2021-12-18 20:49 ` [bug#52641] [PATCH 32/42] gnu: Add rust-xxhash-rust-0.8 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52643] [PATCH 34/42] gnu: Add rust-sequoia-net-0.23 Hartmut Goebel
` (9 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52642
* gnu/packages/sequoia.scm (rust-sequoia-openpgp-1): New variable.
---
gnu/packages/sequoia.scm | 87 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 3757fdd971..dc0e542505 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -39,6 +39,93 @@
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
+(define-public rust-sequoia-openpgp-1
+ (package
+ (name "rust-sequoia-openpgp")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-openpgp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mdprsijszkg2j6jk1iq7q1z9yikq598y12m5zbv94fs37xlx3qm"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove dependencies on rust-crypto and win32-cng
+ '(let* ((other-crypto-pkgs
+ (list ;; rust-crypto
+ "aes" "block-modes" "block-padding" "blowfish" "cast5"
+ "cipher" "des" "digest" "eax" "ed25519-dalek"
+ "generic-array" "idea" "md-5" "num-bigint-dig" "rand"
+ "ripemd160" "rsa" "sha-1" "sha2" "twofish" "typenum"
+ "x25519-dalek" "p256" "rand_core" "rand_core" "ecdsa"
+ ;; win32-cng
+ "eax" "winapi" "win-crypto-ng" "ed25519-dalek"
+ "num-bigint-dig"))
+ (pkgs-pattern (pk (string-join
+ (list "^\\[dependencies\\.("
+ (string-join other-crypto-pkgs "|")
+ ")\\]")
+ ""))))
+ (substitute* "Cargo.toml"
+ ((pkgs-pattern line name) (string-append "[off." name "]"))
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))
+ (("^\\[(target\\.\"cfg\\(windows\\))" line name)
+ (string-append "[off." name)))))))
+ (build-system cargo-build-system)
+ (native-inputs
+ (list clang pkg-config))
+ (inputs
+ (list gmp nettle))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
+ ("rust-bzip2" ,rust-bzip2-0.4)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-dyn-clone" ,rust-dyn-clone-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-idna" ,rust-idna-0.2)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lalrpop" ,rust-lalrpop-0.19)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
+ ("rust-lazy-static" ,rust-lazy-static-1) ;; 1.4.0
+ ("rust-libc" ,rust-libc-0.2) ;; 0.2.66
+ ("rust-memsec" ,rust-memsec-0.6)
+ ("rust-nettle" ,rust-nettle-7)
+ ("rust-plotters" ,rust-plotters-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
+ ("rust-xxhash-rust" ,rust-xxhash-rust-0.8))
+ #:cargo-development-inputs
+ ;; keep the development-inputs to allow running tests easily
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rpassword" ,rust-rpassword-5))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "OpenPGP data types and associated machinery")
+ (description "This crate aims to provide a complete implementation of
+OpenPGP as defined by RFC 4880 as well as some extensions (e.g., RFC 6637,
+which describes ECC cryptography) for OpenPGP. This includes support for
+unbuffered message processing.
+
+A few features that the OpenPGP community considers to be deprecated (e.g.,
+version 3 compatibility) have been left out. The developers have also updated
+some OpenPGP defaults to avoid foot guns (e.g., they selected modern algorithm
+defaults).
+
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
(define-public sequoia
(package
(name "sequoia")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52643] [PATCH 34/42] gnu: Add rust-sequoia-net-0.23.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (32 preceding siblings ...)
2021-12-18 20:49 ` [bug#52642] [PATCH 33/42] gnu: Add rust-sequoia-openpgp-1 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52644] [PATCH 35/42] gnu: Add rust-sequoia-ipc-0.25 Hartmut Goebel
` (8 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52643
* gnu/packages/sequoia.scm (rust-sequoia-net-0.23): New variable.
---
gnu/packages/sequoia.scm | 42 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index dc0e542505..2a75909915 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -39,6 +39,48 @@
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
+(define-public rust-sequoia-net-0.23
+ (package
+ (name "rust-sequoia-net")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-net" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05gv053zqnb00mrai5hva3i4909hn77bnh4z1g4b29cw5qb52cbl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.13)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-zbase32" ,rust-zbase32-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t)))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Discover and publish OpenPGP certificates over the network")
+ (description "This package provides a crate to access keyservers using the
+HKP protocol, and searching and publishing Web Key Directories.")
+ (license license:lgpl2.0+)))
+
(define-public rust-sequoia-openpgp-1
(package
(name "rust-sequoia-openpgp")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52644] [PATCH 35/42] gnu: Add rust-sequoia-ipc-0.25.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (33 preceding siblings ...)
2021-12-18 20:49 ` [bug#52643] [PATCH 34/42] gnu: Add rust-sequoia-net-0.23 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52645] [PATCH 36/42] gnu: Add rust-sequoia-autocrypt-0.23 Hartmut Goebel
` (7 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52644
* gnu/packages/sequoia.scm (rust-sequoia-ipc-0.25): New variable.
---
gnu/packages/sequoia.scm | 51 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 2a75909915..07b7559a2c 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -39,6 +39,57 @@
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
+(define-public rust-sequoia-ipc-0.26
+ (package
+ (name "rust-sequoia-ipc")
+ (version "0.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-ipc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xyhz55g1igzjw46f667kqmbbk7pgqy2zf5p13zspr6bwv39s1yk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
+ ("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
+ ("rust-ctor" ,rust-ctor-0.1)
+ ("rust-dirs" ,rust-dirs-2)
+ ("rust-fs2" ,rust-fs2-0.4)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-lalrpop" ,rust-lalrpop-0.19)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memsec" ,rust-memsec-0.6)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-socket2" ,rust-socket2-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio-util" ,rust-tokio-util-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-quickcheck" ,rust-quickcheck-0.9))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t)))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Interprocess communication infrastructure for Sequoia")
+ (description "Interprocess communication infrastructure for Sequoia")
+ (license license:lgpl2.0+)))
+
(define-public rust-sequoia-net-0.23
(package
(name "rust-sequoia-net")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52645] [PATCH 36/42] gnu: Add rust-sequoia-autocrypt-0.23.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (34 preceding siblings ...)
2021-12-18 20:49 ` [bug#52644] [PATCH 35/42] gnu: Add rust-sequoia-ipc-0.25 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 37/42] gnu: Add sequoia-sq Hartmut Goebel
` (6 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52645
* gnu/packages/sequoia.scm (rust-sequoia-autocrypt-0.23): New variable.
---
gnu/packages/sequoia.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 07b7559a2c..f228caf734 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -39,6 +39,38 @@
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
+(define-public rust-sequoia-autocrypt-0.23
+ (package
+ (name "rust-sequoia-autocrypt")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-autocrypt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0skj0dv15341v470g6w5pggsl0iy27qb8h24rr8k6rq7vxdjxl7g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t)))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Deal with Autocrypt encoded data")
+ (description "This crate implements low-level functionality like encoding
+and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more
+than just headers; it requires tight integration with the MUA.")
+ (license license:lgpl2.0+)))
+
(define-public rust-sequoia-ipc-0.26
(package
(name "rust-sequoia-ipc")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 37/42] gnu: Add sequoia-sq.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (35 preceding siblings ...)
2021-12-18 20:49 ` [bug#52645] [PATCH 36/42] gnu: Add rust-sequoia-autocrypt-0.23 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 38/42] gnu: Add sequoia-sqv Hartmut Goebel
` (5 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/sequoia.scm (sequoia-sq): New variable.
---
gnu/packages/sequoia.scm | 51 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index f228caf734..802feaba4f 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -248,6 +248,57 @@ version 3 compatibility) have been left out. The developers have also updated
some OpenPGP defaults to avoid foot guns (e.g., they selected modern algorithm
defaults).
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
+(define-public sequoia-sq
+ (package
+ (name "sequoia-sq")
+ (version "0.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-sq" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j26vpp98i7zwwhqsvwj0zknj4s0s0ilfqpynj1vgd5laanhyr0d"))))
+ (build-system cargo-build-system)
+ (inputs
+ (list nettle openssl))
+ (native-inputs
+ (list clang pkg-config))
+ (arguments
+ `(#:tests? #f ;; tests require data-files not provided in the package
+ #:install-source? #f
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-itertools" ,rust-itertools-0.9)
+ ("rust-rpassword" ,rust-rpassword-5)
+ ("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.23)
+ ("rust-sequoia-net" ,rust-sequoia-net-0.23)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #:cargo-development-inputs
+ (("rust-assert-cli" ,rust-assert-cli-0.6))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t)))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Command-line frontend for Sequoia OpenPGP")
+ (description "This package provides the command-line frontend for Sequoia
+OpenPGP.
+
This Guix package is built to use the nettle cryptographic library.")
(license license:lgpl2.0+)))
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 38/42] gnu: Add sequoia-sqv.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (36 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 37/42] gnu: Add sequoia-sq Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 39/42] gnu: Add libsequoia Hartmut Goebel
` (4 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/sequoia.scm (sequoia-sqv): New variable.
---
gnu/packages/sequoia.scm | 44 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 802feaba4f..70ac2e89cd 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -299,6 +299,50 @@ This Guix package is built to use the nettle cryptographic library.")
(description "This package provides the command-line frontend for Sequoia
OpenPGP.
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
+(define-public sequoia-sqv
+ (package
+ (name "sequoia-sqv")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-sqv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nrfjn64fm038x5dssipf7jxi27z741m5n5a7zsa9768zab1hr9d"))))
+ (build-system cargo-build-system)
+ (inputs
+ (list nettle openssl))
+ (native-inputs
+ (list clang pkg-config))
+ (arguments
+ `(#:tests? #f ;; tests require data-files not provided in the package
+ #:install-source? #f
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
+ #:cargo-development-inputs
+ (("rust-assert-cli" ,rust-assert-cli-0.6))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t)))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Simple OpenPGP signature verification program")
+ (description "@code{sqv} verifies detached OpenPGP signatures. It is a
+replacement for @code{gpgv}. Unlike @code{gpgv}, it can take additional
+constraints on the signature into account.
+
This Guix package is built to use the nettle cryptographic library.")
(license license:lgpl2.0+)))
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 39/42] gnu: Add libsequoia.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (37 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 38/42] gnu: Add sequoia-sqv Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 40/42] gnu: sequoia: Change into a meta-package and update to 1.6.0 Hartmut Goebel
` (3 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/sequoia.scm (sequoia-package-origin): New variable.
(libsequoia): New variable.
* gnu/packages/patches/sequoia-fix-ffi-Makefile.patch,
gnu/packages/patches/sequoia-remove-store.patch New files.
* gnu/local.mk (dist_patch_DATA): Add them.
---
gnu/local.mk | 2 +
.../patches/libsequoia-fix-ffi-Makefile.patch | 32 ++
.../patches/libsequoia-remove-store.patch | 432 ++++++++++++++++++
gnu/packages/sequoia.scm | 120 +++++
4 files changed, 586 insertions(+)
create mode 100644 gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch
create mode 100644 gnu/packages/patches/libsequoia-remove-store.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 33e108c752..598a85f512 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1785,6 +1785,8 @@ dist_patch_DATA = \
%D%/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch \
%D%/packages/patches/sendgmail-remove-domain-restriction.patch \
%D%/packages/patches/seq24-rename-mutex.patch \
+ %D%/packages/patches/libsequoia-fix-ffi-Makefile.patch \
+ %D%/packages/patches/libsequoia-remove-store.patch \
%D%/packages/patches/serf-python3.patch \
%D%/packages/patches/shakespeare-spl-fix-grammar.patch \
%D%/packages/patches/sharutils-CVE-2018-1000097.patch \
diff --git a/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch b/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch
new file mode 100644
index 0000000000..21f5a1e4df
--- /dev/null
+++ b/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch
@@ -0,0 +1,32 @@
+From ed641d2048d131e077f54043764741b7e7b7fe03 Mon Sep 17 00:00:00 2001
+From: Hartmut Goebel <hartmut.goebel@pep.security>
+Date: Tue, 7 Dec 2021 16:42:43 +0100
+Subject: [PATCH] ffi: Update Makefile, remove rule remaining from store
+ removal.
+
+---
+ ffi/Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/ffi/Makefile b/ffi/Makefile
+index a5540db3..07328589 100644
+--- a/ffi/Makefile
++++ b/ffi/Makefile
+@@ -62,7 +62,6 @@ build-release:
+ $(CARGO) build $(CARGO_FLAGS) --release --package sequoia-ffi
+ $(MAKE) -Clang/python build-release
+ $(call sequoia_pc,$(CARGO_TARGET_DIR)/release,true)
+- $(MAKE) -C../store build-release
+
+ .PHONY: install
+ install: build-release
+@@ -82,7 +82,6 @@ install: build-release
+ $(DESTDIR)$(PREFIX)/lib/libsequoia_ffi.$(_SEQ_LIB_EXT)
+ $(INSTALL) $(CARGO_TARGET_DIR)/release/libsequoia_ffi.a \
+ $(DESTDIR)$(PREFIX)/lib/libsequoia_ffi.a
+- $(MAKE) -C../store install
+ # Now the bindings.
+ $(MAKE) -Clang/python install
+
+--
+
diff --git a/gnu/packages/patches/libsequoia-remove-store.patch b/gnu/packages/patches/libsequoia-remove-store.patch
new file mode 100644
index 0000000000..e7e1a91ee3
--- /dev/null
+++ b/gnu/packages/patches/libsequoia-remove-store.patch
@@ -0,0 +1,432 @@
+Shortend version of
+From 351ad5e5e2dd67f427b7eb2e4d5d0b35d90ffaf7 Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@sequoia-pgp.org>
+Date: Wed, 24 Nov 2021 15:09:34 +0100
+Subject: [PATCH] store: Drop crate.
+
+ - The store has never been really used, and never reached a maturity
+ where it was useful. And, we're on the verge of replacing it with
+ the Shared PGP Certificate Directory.
+---
+ Cargo.toml | 1 -
+ ffi/Cargo.toml | 4 +-
+ ffi/include/sequoia.h | 1 -
+ ffi/include/sequoia/store.h | 409 ------
+ ffi/lang/python/sequoia/__init__.py | 1 -
+ ffi/lang/python/sequoia/prelude.py | 1 -
+ ffi/lang/python/sequoia/sequoia_build.py | 3 +-
+ ffi/lang/python/sequoia/store.py | 246 ----
+ ffi/lang/python/tests/test_store.py | 47 -
+ ffi/src/lib.rs | 2 -
+ ffi/src/store.rs | 659 ----------
+ 25 files changed, 3 insertions(+), 5064 deletions(-)
+ delete mode 100644 ffi/include/sequoia/store.h
+ delete mode 100644 ffi/lang/python/sequoia/store.py
+ delete mode 100644 ffi/lang/python/tests/test_store.py
+ delete mode 100644 ffi/src/store.rs
+
+diff --git a/Cargo.toml b/Cargo.toml
+index a4f48520..a573ddbf 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -10,7 +10,6 @@ members = [
+ "openpgp",
+ "openpgp-ffi",
+ "sq",
+- "store",
+ ]
+
+ [profile.release]
+diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml
+index 53ddaf68..2ec84e6e 100644
+--- a/ffi/Cargo.toml
++++ b/ffi/Cargo.toml
+@@ -24,7 +24,6 @@ maintenance = { status = "actively-developed" }
+ [dependencies]
+ sequoia-ffi-macros = { path = "../ffi-macros", version = "0.22" }
+ sequoia-openpgp = { path = "../openpgp", version = "1.0.0", default-features = false }
+-sequoia-store = { path = "../store", version = "0.22", default-features = false }
+ sequoia-net = { path = "../net", version = "0.23", default-features = false }
+ sequoia-ipc = { path = "../ipc", version = "0.26", default-features = false }
+ anyhow = "1.0.18"
+@@ -42,10 +41,9 @@ crate-type = ["cdylib", "staticlib"]
+ bench = false
+
+ [features]
+-default = ["sequoia-openpgp/default", "sequoia-store/default"]
++default = ["sequoia-openpgp/default"]
+ crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
+ crypto-cng = ["sequoia-openpgp/crypto-cng"]
+ compression = ["sequoia-openpgp/compression"]
+ compression-deflate = ["sequoia-openpgp/compression-deflate"]
+ compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
+-background-services = ["sequoia-store/background-services"]
+diff --git a/ffi/include/sequoia.h b/ffi/include/sequoia.h
+index 8c62ba8f..c32a2f3e 100644
+--- a/ffi/include/sequoia.h
++++ b/ffi/include/sequoia.h
+@@ -5,6 +5,5 @@
+ #include <sequoia/core.h>
+ #include <sequoia/openpgp.h>
+ #include <sequoia/net.h>
+-#include <sequoia/store.h>
+
+ #endif
+diff --git a/ffi/lang/python/sequoia/__init__.py b/ffi/lang/python/sequoia/__init__.py
+index 4f84346e..fc170e20 100644
+--- a/ffi/lang/python/sequoia/__init__.py
++++ b/ffi/lang/python/sequoia/__init__.py
+@@ -4,5 +4,4 @@ from . import (
+ openpgp,
+ core,
+ net,
+- store,
+ )
+diff --git a/ffi/lang/python/sequoia/prelude.py b/ffi/lang/python/sequoia/prelude.py
+index 42b0156a..61efbab0 100644
+--- a/ffi/lang/python/sequoia/prelude.py
++++ b/ffi/lang/python/sequoia/prelude.py
+@@ -3,4 +3,3 @@ from .error import *
+ from .openpgp import *
+ from .core import *
+ from .net import *
+-from .store import *
+diff --git a/ffi/lang/python/sequoia/sequoia_build.py b/ffi/lang/python/sequoia/sequoia_build.py
+index a3ce2786..058f1380 100644
+--- a/ffi/lang/python/sequoia/sequoia_build.py
++++ b/ffi/lang/python/sequoia/sequoia_build.py
+@@ -14,8 +14,7 @@ defs = "".join(l
+ open(join(pgp_inc, "openpgp/serialize.h")).readlines(),
+ open(join(pgp_inc, "openpgp.h")).readlines(),
+ open(join(sq_inc, "core.h")).readlines(),
+- open(join(sq_inc, "net.h")).readlines(),
+- open(join(sq_inc, "store.h")).readlines())
++ open(join(sq_inc, "net.h")).readlines())
+ if not l.startswith('#'))
+
+ defs = defs.replace("INT_MAX", "{}".format(1<<31))
+diff --git a/ffi/lang/python/sequoia/store.py b/ffi/lang/python/sequoia/store.py
+deleted file mode 100644
+index 57d1b18f..00000000
+--- a/ffi/lang/python/sequoia/store.py
++++ /dev/null
+@@ -1,246 +0,0 @@
+-from _sequoia import ffi, lib
+-
+-from .error import Error
+-from .glue import _str, _static_str, SQObject, sq_iterator, sq_time
+-from .net import NetworkPolicy
+-from .openpgp import Fingerprint, Cert
+-
+-class Store(object):
+- @classmethod
+- def log(cls, ctx):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_store_server_log(ctx.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=ctx))
+-
+- @classmethod
+- def list_keys(cls, ctx):
+- def next_fn(i):
+- fpp = ffi.new("pgp_fingerprint_t[1]")
+- key = lib.sq_key_iter_next(i, fpp)
+- if key == ffi.NULL:
+- return ffi.NULL
+- else:
+- return (Fingerprint(fpp[0], ctx),
+- Key(key, ctx))
+-
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_store_list_keys(ctx.ref()),
+- lib.sq_key_iter_free),
+- next_fn)
+-
+-class Mapping(SQObject):
+- _del = lib.sq_mapping_free
+-
+- # Keys used for communications.
+- REALM_CONTACTS = _static_str(lib.SQ_REALM_CONTACTS)
+-
+- # Keys used for signing software updates.
+- REALM_SOFTWARE_UPDATES = _static_str(lib.SQ_REALM_SOFTWARE_UPDATES)
+-
+- @classmethod
+- def open(cls, ctx, network_policy=NetworkPolicy.Encrypted, realm=REALM_CONTACTS, name="default"):
+- return Mapping(lib.sq_mapping_open(ctx.ref(), network_policy.value,
+- realm.encode(), name.encode()),
+- context=ctx)
+-
+-
+- def add(self, label, fingerprint):
+- return Binding(lib.sq_mapping_add(self.context().ref(), self.ref(),
+- label.encode(), fingerprint.ref()),
+- context=self.context())
+-
+- def import_(self, label, cert):
+- return Cert(lib.sq_mapping_import(self.context().ref(), self.ref(),
+- label.encode(), cert.ref()),
+- context=self.context())
+-
+- def lookup(self, label):
+- return Binding(lib.sq_mapping_lookup(self.context().ref(), self.ref(),
+- label.encode()),
+- self.context())
+-
+- def delete(self):
+- if lib.sq_mapping_delete(self.ref()):
+- raise Error._last(self.context())
+- super(Mapping, self)._delete(skip_free=True)
+-
+- def iter(self):
+- def next_fn(i):
+- labelp = ffi.new("char *[1]")
+- fpp = ffi.new("pgp_fingerprint_t[1]")
+- binding = lib.sq_binding_iter_next(i, labelp, fpp)
+- if binding == ffi.NULL:
+- return ffi.NULL
+- else:
+- return (_str(labelp[0]),
+- Fingerprint(fpp[0], self.context()),
+- Binding(binding, self.context()))
+-
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_mapping_iter(self.context().ref(), self.ref()),
+- lib.sq_binding_iter_free),
+- next_fn)
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_mapping_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=self.context()))
+-
+-class Binding(SQObject):
+- _del = lib.sq_binding_free
+-
+- def stats(self):
+- return Stats(lib.sq_binding_stats(self.context().ref(), self.ref()),
+- self.context())
+-
+- def key(self):
+- return Key(lib.sq_binding_key(self.context().ref(), self.ref()),
+- self.context())
+-
+- def cert(self):
+- return Cert(lib.sq_binding_cert(self.context().ref(), self.ref()),
+- self.context())
+-
+- def import_(self, cert):
+- return Cert(lib.sq_binding_import(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def rotate(self, cert):
+- return Cert(lib.sq_binding_rotate(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def delete(self):
+- if lib.sq_binding_delete(self.ref()):
+- raise Error._last(self.context())
+- super(Binding, self)._delete(skip_free=True)
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_binding_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=self.context()))
+-
+-class Key(SQObject):
+- _del = lib.sq_key_free
+-
+- def stats(self):
+- return Stats(lib.sq_key_stats(self.context().ref(), self.ref()),
+- self.context())
+-
+- def cert(self):
+- return Cert(lib.sq_key_cert(self.context().ref(), self.ref()),
+- self.context())
+-
+- def import_(self, cert):
+- return Cert(lib.sq_key_import(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_key_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next)
+-
+-
+-class Stats(SQObject):
+- _del = lib.sq_stats_free
+- def __init__(self, o, context=None):
+- super(Stats, self).__init__(o, context=context)
+- self.encryption = Stamps(ffi.addressof(o, "encryption"))
+- self.verification = Stamps(ffi.addressof(o, "verification"))
+-
+- @property
+- def created(self):
+- return sq_time(self.ref().created)
+-
+- @property
+- def updated(self):
+- return sq_time(self.ref().updated)
+-
+- def __str__(self):
+- return \
+- "Stats{{created={}, updated={}, encryption={}, verification={}}}" \
+- .format(self.created, self.updated, self.encryption,
+- self.verification)
+-
+-class Stamps(SQObject):
+- @property
+- def count(self):
+- return self.ref().count
+-
+- @property
+- def first(self):
+- return sq_time(self.ref().first)
+-
+- @property
+- def last(self):
+- return sq_time(self.ref().last)
+-
+- def __str__(self):
+- return "Stamps{{count={}, first={}, last={}}}".format(
+- self.count, self.first, self.last)
+-
+-class Log(SQObject):
+- _del = lib.sq_log_free
+-
+- @property
+- def timestamp(self):
+- return sq_time(self.ref().timestamp)
+-
+- @property
+- def store(self):
+- if self.ref().store == ffi.NULL:
+- return None
+- else:
+- return Store(self.ref().store, context=self.context(),
+- owner=self)
+-
+- @property
+- def binding(self):
+- if self.ref().binding == ffi.NULL:
+- return None
+- else:
+- return Binding(self.ref().binding, context=self.context(),
+- owner=self)
+-
+- @property
+- def key(self):
+- if self.ref().key == ffi.NULL:
+- return None
+- else:
+- return Key(self.ref().key, context=self.context(),
+- owner=self)
+-
+- @property
+- def slug(self):
+- return ffi.string(self.ref().slug).decode()
+-
+- @property
+- def status(self):
+- return ffi.string(self.ref().status).decode()
+-
+- @property
+- def error(self):
+- if self.ref().error == ffi.NULL:
+- return None
+- else:
+- return ffi.string(self.ref().error).decode()
+-
+- def __str__(self):
+- if self.error:
+- return "{}: {}: {}: {}".format(
+- self.timestamp, self.slug, self.status, self.error)
+- else:
+- return "{}: {}: {}".format(
+- self.timestamp, self.slug, self.status)
+diff --git a/ffi/lang/python/tests/test_store.py b/ffi/lang/python/tests/test_store.py
+deleted file mode 100644
+index 7b06cc1a..00000000
+--- a/ffi/lang/python/tests/test_store.py
++++ /dev/null
+@@ -1,47 +0,0 @@
+-from sequoia.prelude import Context, Store, Mapping, Fingerprint
+-
+-def test_open():
+- c = Context(ephemeral=True)
+- Mapping.open(c)
+-
+-def test_add():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- s.add("Ἀριστοτέλης", fp)
+-
+-def test_iterate():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- s.add("Ἀριστοτέλης", fp)
+- l = list(s.iter())
+- assert len(l) == 1
+- l = list(Store.list_keys(c))
+- assert len(l) == 1
+- fpi, key = l[0]
+- assert fpi == fp
+-
+-def test_logs():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- b = s.add("Ἀριστοτέλης", fp)
+- l = list(s.iter())
+- assert len(l) == 1
+-
+- # global logs
+- logs = list(Store.log(c))
+- assert len(logs) > 0
+-
+- # per store logs
+- logs = list(s.log())
+- assert len(logs) > 0
+-
+- # per binding logs
+- logs = list(b.log())
+- assert len(logs) > 0
+-
+- # per key logs
+- logs = list(b.key().log())
+- assert len(logs) > 0
+diff --git a/ffi/src/lib.rs b/ffi/src/lib.rs
+index 40e3672e..9b4577eb 100644
+--- a/ffi/src/lib.rs
++++ b/ffi/src/lib.rs
+@@ -130,7 +130,6 @@ pub(crate) use crate::openpgp::{
+ MoveResultIntoRaw,
+ Maybe,
+ maybe_time,
+- to_time_t,
+ };
+
+ /* Error handling with implicit context. */
+@@ -146,5 +145,4 @@ macro_rules! ffi_make_fry_from_ctx {
+ pub mod core;
+ pub mod error;
+ pub mod net;
+-pub mod store;
+
+GitLab
+
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 70ac2e89cd..811beb823a 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -346,6 +346,126 @@ constraints on the signature into account.
This Guix package is built to use the nettle cryptographic library.")
(license license:lgpl2.0+)))
+(define (sequoia-package-origin version)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/sequoia-pgp/sequoia.git")
+ (commit (string-append "openpgp/v" version))))
+ (sha256
+ (base32 "1cq1xgvllbpii5hfl3wlia2ayznpvhv8lq8g8ygwxga86ijg98lq"))
+ (file-name (git-file-name "sequoia" version))
+ (patches (search-patches "libsequoia-remove-store.patch"
+ "libsequoia-fix-ffi-Makefile.patch"))))
+
+(define-public libsequoia
+ (package
+ (name "libsequoia")
+ (version "0.22.0")
+ (source (sequoia-package-origin "1.6.0"))
+ (build-system cargo-build-system)
+ (outputs '("out" "python"))
+ (native-inputs
+ (list clang pkg-config python-pytest python-pytest-runner
+ python-wrapper))
+ (inputs
+ (list gmp nettle openssl python python-cffi))
+ (arguments
+ `(#:tests? #f ;; TODO make python tests find the shared object file
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memsec" ,rust-memsec-0.6)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1) ;; for ffi-macros
+ ("rust-quote" ,rust-quote-1) ;; for ffi-macros
+ ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.26)
+ ("rust-sequoia-net" ,rust-sequoia-net-0.23)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-sha2" ,rust-sha2-0.8) ;; for ffi-macros
+ ("rust-tokio" ,rust-tokio-1.8))
+ #:cargo-development-inputs
+ (("rust-filetime" ,rust-filetime-0.2))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'set-PREFIX
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (setenv "PREFIX" out)
+ #t)))
+ (replace 'build
+ (lambda _
+ (invoke "make" "-C" "openpgp-ffi" "build-release")
+ (invoke "make" "-C" "ffi" "build-release")))
+ (delete 'package) ;; cargo can't package a multi-crate workspace
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ (invoke "make" "-C" "openpgp-ffi" "check")
+ (invoke "make" "-C" "ffi" "check"))
+ #t)))
+ (replace 'install
+ (lambda _
+ (invoke "make" "-C" "openpgp-ffi" "install")
+ (invoke "make" "-C" "ffi" "install")))
+ (add-after 'configure 'fix-build-environment
+ (lambda _
+ (delete-file "Cargo.toml")
+ (symlink "../.cargo" "openpgp-ffi/.cargo")
+ (symlink "../.cargo" "ffi/.cargo")
+ (for-each delete-file-recursively
+ (find-files "guix-vendor" "^sequoia-[0-9]+\\.*"
+ #:directories? #t))
+ #t))
+ (add-after 'unpack 'fix-for-python-output
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (pyout (assoc-ref outputs "python")))
+ (substitute* "ffi/lang/python/Makefile"
+ ;; adjust prefix for python package
+ (("PREFIX\\s*\\??=.*")
+ (string-append "PREFIX = " pyout "\n"))
+ ;; fix rpath to include the main package
+ (("\\WLDFLAGS=" text)
+ (string-append text "'-Wl,-rpath=" out "/lib '"))
+ ;; make setuptools install into the prefix, see
+ ;; guix/build/python-build-system.scm for explanation
+ (("\\ssetup.py\\s+install\\s")
+ " setup.py install --root=/ --single-version-externally-managed "))
+ #t)))
+ (add-after 'unpack 'fix-Makefiles
+ (lambda _
+ (substitute* '("openpgp-ffi/Makefile")
+ (("^check-headers: force-build") "check-headers:"))))
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* '("openpgp-ffi/Cargo.toml" "ffi/Cargo.toml")
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))
+ #t))
+ (add-after 'unpack 'fix-missing-feature
+ (lambda _
+ (substitute* '("ffi/Cargo.toml")
+ (("^(tokio = .* features = \\[)" line)
+ (string-append line "\"net\", ")))
+ #t))
+ (add-after 'unpack 'unbundle-crates
+ (lambda _
+ (substitute* '("openpgp-ffi/Cargo.toml" "ffi/Cargo.toml")
+ (("path = \"\\.\\./(openpgp|store|net|ipc)\",") ""))
+ #t)))))
+ (home-page "https://sequoia-pgp.org")
+ (synopsis "C/FFI interfaces for Sequoia-PGP")
+ (description "This package provides a C and FFI interface to both the
+low-level and a high-level API of Sequoia-PGP.
+
+Use with caution: This is an \"unofficial\" package, which are not officially
+released, but part of the Sequoia-PGP v1.6.0 archive. So this package might
+even go away.")
+ (license license:lgpl2.0+)))
+
(define-public sequoia
(package
(name "sequoia")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 40/42] gnu: sequoia: Change into a meta-package and update to 1.6.0.
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (38 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 39/42] gnu: Add libsequoia Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 41/42] gnu: rust-sequoia-openpgp-0.9: Move to (gnu packages sequoia) Hartmut Goebel
` (2 subsequent siblings)
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/sequoia.scm (sequoia): Update to 1.6.0.
Change into a meta-package for all sequoia related binaries.
[source, native-inputs]: Remove.
[build-system]: Use trivial-build-system.
[inputs]: Replace with list of packages to be merged.
[arguments]: Replace by a trivial build step.
[synopsis, description]: Adopt to being a meta-package.
[license]: Adjust to license change of project.
---
gnu/packages/sequoia.scm | 211 ++++++++-------------------------------
1 file changed, 40 insertions(+), 171 deletions(-)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 811beb823a..16488ca073 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -19,12 +19,14 @@
(define-module (gnu packages sequoia)
#:use-module (guix build-system cargo)
+ #:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages base) ; glibc
#:use-module (gnu packages check) ;; python-pytest
#:use-module (gnu packages crates-io)
#:use-module (gnu packages libffi) ;; python-cffi
@@ -35,8 +37,6 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) ;; python-setuptools
#:use-module (gnu packages rust)
- #:use-module (gnu packages serialization)
- #:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
(define-public rust-sequoia-autocrypt-0.23
@@ -469,176 +469,45 @@ even go away.")
(define-public sequoia
(package
(name "sequoia")
- (version "1.1.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.com/sequoia-pgp/sequoia.git")
- (commit (string-append "openpgp/v" version))))
- (sha256
- (base32 "0knkm0nw1h4ww51vks4jnnp1yc45llfi7j0i70f6vf2bcknnbmci"))
- (file-name (git-file-name name version))))
- (build-system cargo-build-system)
+ (version "1.6.0")
+ (source #f)
+ (build-system trivial-build-system)
(outputs '("out" "python"))
- (native-inputs
- (list clang pkg-config python-pytest python-pytest-runner
- python-wrapper))
(inputs
- (list capnproto
- gmp
- nettle
- openssl
- python
- python-cffi
- sqlite))
+ `(("glibc" ,glibc) ;; for ldconfig in make-dynamic-linker-cache
+ ("libsequoia" ,libsequoia)
+ ("libsequoia:python" ,libsequoia "python")
+ ("sequoia-sq" ,sequoia-sq)
+ ("sequoia-sqv" ,sequoia-sqv)))
(arguments
- `(#:tests? #f ;; building the tests requires 9.7GB total
- #:rust ,rust
- #:cargo-inputs
- (("rust-anyhow" ,rust-anyhow-1)
- ("rust-backtrace" ,rust-backtrace-0.3)
- ("rust-base64" ,rust-base64-0.13)
- ;;("rust-buffered-reader" included
- ("rust-bzip2" ,rust-bzip2-0.4)
- ("rust-capnp" ,rust-capnp-0.13)
- ("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
- ("rust-capnpc" ,rust-capnpc-0.13)
- ("rust-chrono" ,rust-chrono-0.4) ;; for sqv, sop
- ("rust-clap" ,rust-clap-2) ;; for sqv
- ("rust-colored" ,rust-colored-1.9.1)
- ("rust-crossterm" ,rust-crossterm-0.13)
- ("rust-ctor" ,rust-ctor-0.1)
- ("rust-dirs" ,rust-dirs-2)
- ("rust-dyn-clone" ,rust-dyn-clone-1)
- ("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
- ("rust-eax" ,rust-eax-0.3)
- ;;("rust-failure" included
- ("rust-filetime" ,rust-filetime-0.2)
- ("rust-flate2" ,rust-flate2-1)
- ("rust-fs2" ,rust-fs2-0.4)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-http" ,rust-http-0.2)
- ("rust-hyper" ,rust-hyper-0.13)
- ("rust-hyper-tls" ,rust-hyper-tls-0.4)
- ("rust-idna" ,rust-idna-0.2)
- ("rust-itertools" ,rust-itertools-0.9) ;; for sq
- ("rust-lalrpop" ,rust-lalrpop-0.19)
- ("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-memsec" ,rust-memsec-0.6)
- ("rust-native-tls" ,rust-native-tls-0.2)
- ("rust-nettle" ,rust-nettle-7)
- ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.6)
- ("rust-parity-tokio-ipc" ,rust-parity-tokio-ipc-0.4)
- ("rust-percent-encoding" ,rust-percent-encoding-2)
- ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) ;; for sq
- ("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quickcheck" ,rust-quickcheck-0.9)
- ("rust-rand" ,rust-rand-0.7)
- ("rust-regex" ,rust-regex-1)
- ("rust-rusqlite" ,rust-rusqlite-0.24)
- ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2)
- ("rust-socket2", rust-socket2-0.3)
- ("rust-structopt" ,rust-structopt-0.3) ;; for sop
- ("rust-tempfile" ,rust-tempfile-3) ;; for sq
- ("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-0.2)
- ("rust-tokio-core" ,rust-tokio-core-0.1)
- ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
- ("rust-url" ,rust-url-2)
- ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.4)
- ("rust-winapi" ,rust-winapi-0.3)
- ("rust-zbase32" ,rust-zbase32-0.1))
- #:cargo-development-inputs
- (("rust-assert-cli" ,rust-assert-cli-0.6) ;; dev-dep for for sq, sqv
- ("rust-bindgen" ,rust-bindgen-0.51) ;; FIXME for nettle-sys and rusqlite
- ;;("rust-lalrpop" ,rust-lalrpop-0.19)
- ("rust-quickcheck" ,rust-quickcheck-0.9)
- ("rust-rand" ,rust-rand-0.7)
- ("rust-rpassword" ,rust-rpassword-5))
- #:phases
- (modify-phases %standard-phases
- ;; Run make instead of using the rust build system, as
- ;; suggested by the installation instructions
- (replace 'build (lambda _ (invoke "make" "build-release") #t))
- (delete 'package) ;; cargo can't package a multi-crate workspace
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "make" "check")
- #t)))
- (replace 'install (lambda _ (invoke "make" "install") #t))
- (add-after 'unpack 'fix-rand-dependency
- (lambda _
- (substitute* "ipc/Cargo.toml"
- ;; required: enable rand::rngs::OsRng in rand >= 0.8
- (("(^rand =.*,) default-features = false(.*)" _ a b)
- (string-append a " features = [\"getrandom\"]" b)))
- #t))
- (add-after 'unpack 'fix-permissions
- (lambda _
- (chmod "sq/src/sq-usage.rs" #o644)
- (chmod "sqv/src/sqv-usage.rs" #o644)
- #t))
- (add-after 'unpack 'fix-environment
- (lambda* (#:key outputs #:allow-other-keys)
- ;; adjust prefix
- (setenv "PREFIX" (assoc-ref outputs "out"))
- ;; fix install script detection
- (setenv "INSTALL" "install")
- #t))
- (add-after 'unpack 'fix-fo-python-output
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (pyout (assoc-ref outputs "python")))
- (substitute* "ffi/lang/python/Makefile"
- ;; adjust prefix for python package
- (("PREFIX\\s*\\??=.*")
- (string-append "PREFIX = " pyout "\n"))
- ;; fix rpath to include the main package
- (("\\WLDFLAGS=" text)
- (string-append text "'-Wl,-rpath=" out "/lib '"))
- ;; make setuptools install into the prefix, see
- ;; guix/build/python-build-system.scm for explanation
- (("\\ssetup.py\\s+install\\s")
- " setup.py install --root=/ --single-version-externally-managed "))
- #t)))
- (add-after 'unpack 'fix-pkgconfig-file-substitutes
- ;; preempt Makefiles replacing PREFIX by pwd
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "ffi/sequoia.pc.in"
- (("PREFIX") out))
- (substitute* "openpgp-ffi/sequoia-openpgp.pc.in"
- (("PREFIX") out))
- #t)))
- (add-after 'unpack 'keep-SOURCE_DATE_EPOCH
- (lambda _
- ;; preempt Makefiles replacing SOURCE_DATE_EPOCH
- (substitute* "Makefile"
- (("SOURCE_DATE_EPOCH\\s=" line)
- (string-append "#" line)))
- #t))
- (add-after 'unpack 'set-missing-env-vars
- (lambda* (#:key inputs #:allow-other-keys)
- ;; FIXME: why do we need to set this here?
- (setenv "LIBCLANG_PATH"
- (string-append (assoc-ref inputs "clang") "/lib"))
- #t))
- (add-after 'unpack 'unpin-deps
- (lambda _
- ;; As the comment in that file explains, upstream encourages
- ;; unpinning, as the pinned version is only to make sure the crate
- ;; compiles on older versions of rustc
- (substitute* '("openpgp/Cargo.toml" "sq/Cargo.toml")
- (("= \"=") "= \""))
- #t)))))
+ `(#:modules ((guix build utils) (guix build gnu-build-system)
+ (guix build gremlin) (guix elf))
+ #:builder
+ (begin
+ (use-modules (guix build utils) (guix build gnu-build-system))
+ (let ((make-dynamic-linker-cache
+ (assoc-ref %standard-phases 'make-dynamic-linker-cache))
+ (ld.so.cache
+ (string-append (assoc-ref %outputs "out") "/etc/ld.so.cache")))
+ (copy-recursively (assoc-ref %build-inputs "libsequoia")
+ (assoc-ref %outputs "out"))
+ (copy-recursively (assoc-ref %build-inputs "sequoia-sq")
+ (assoc-ref %outputs "out"))
+ (delete-file ld.so.cache)
+ (copy-recursively (assoc-ref %build-inputs "sequoia-sqv")
+ (assoc-ref %outputs "out"))
+ (delete-file ld.so.cache)
+ (copy-recursively (assoc-ref %build-inputs "libsequoia:python")
+ (assoc-ref %outputs "python"))
+ (setenv "PATH"
+ (string-append (getenv "PATH") ":"
+ (assoc-ref %build-inputs "glibc") "/sbin"))
+ (make-dynamic-linker-cache #:outputs %outputs)
+ #t))))
(home-page "https://sequoia-pgp.org")
- (synopsis "New OpenPGP implementation")
- (description "Sequoia is a new OpenPGP implementation. It consists of
-several crates, providing both a low-level and a high-level API for dealing
-with OpenPGP data.")
- (license license:gpl2+)))
+ (synopsis "New OpenPGP implementation (meta-package)")
+ (description "Sequoia is a new OpenPGP implementation, written in Rust,
+consisting of several Rust crates/packages. This Guix meta-package combines
+these packages into a single one for convenience. Anyhow, you should not
+depend other packages on this one avoid excessive compile-times for users.")
+ (license license:lgpl2.0+)))
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 41/42] gnu: rust-sequoia-openpgp-0.9: Move to (gnu packages sequoia).
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (39 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 40/42] gnu: sequoia: Change into a meta-package and update to 1.6.0 Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-18 20:49 ` [bug#52610] [PATCH 42/42] gnu: rust-sequoia-rfc2822-0.9: " Hartmut Goebel
2021-12-30 0:27 ` [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Nicolas Goaziou
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/crates-io.scm (rust-sequoia-openpgp-0.9): Move package to ...
* gnu/packages/sequoia.scm: ... here. Inherit from
rust-sequoia-openpgp-1. [arguments]<skip-build?> add,
<cargo-development-inputs>: Remove.
---
gnu/packages/crates-io.scm | 52 +-------------------------------------
gnu/packages/sequoia.scm | 32 +++++++++++++++++++++++
2 files changed, 33 insertions(+), 51 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af194df56b..2fb35277a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73,6 +73,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
+ #:use-module (gnu packages sequoia)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages ssh)
@@ -46922,57 +46923,6 @@ formats:
fragment of code.")
(license (list license:expat license:asl2.0))))
-(define-public rust-sequoia-openpgp-0.9
- (package
- (name "rust-sequoia-openpgp")
- (version "0.9.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-openpgp" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-base64" ,rust-base64-0.9)
- ("rust-buffered-reader" ,rust-buffered-reader-0.9)
- ("rust-bzip2" ,rust-bzip2-0.3)
- ("rust-failure" ,rust-failure-0.1)
- ("rust-flate2" ,rust-flate2-1)
- ("rust-idna" ,rust-idna-0.1)
- ("rust-lalrpop" ,rust-lalrpop-0.17)
- ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-memsec" ,rust-memsec-0.5)
- ("rust-nettle" ,rust-nettle-5)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-rand" ,rust-rand-0.6)
- ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
- ("rust-time" ,rust-time-0.1))
- #:cargo-development-inputs
- (("rust-rpassword" ,rust-rpassword-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list clang nettle))
- (home-page "https://sequoia-pgp.org/")
- (synopsis "OpenPGP data types and associated machinery")
- (description
- "This crate aims to provide a complete implementation of OpenPGP as
-defined by RFC 4880 as well as some extensions (e.g., RFC 6637, which
-describes ECC cryptography) for OpenPGP. This includes support for unbuffered
-message processing.
-
-A few features that the OpenPGP community considers to be deprecated (e.g.,
-version 3 compatibility) have been left out. We have also updated some
-OpenPGP defaults to avoid foot guns (e.g., we selected modern algorithm
-defaults). If some functionality is missing, please file a bug report.")
- (license license:gpl3)))
-
(define-public rust-sequoia-rfc2822-0.9
(package
(name "rust-sequoia-rfc2822")
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 16488ca073..3db85a9eba 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -251,6 +251,38 @@ defaults).
This Guix package is built to use the nettle cryptographic library.")
(license license:lgpl2.0+)))
+(define-public rust-sequoia-openpgp-0.9
+ (package
+ (inherit rust-sequoia-openpgp-1)
+ (name "rust-sequoia-openpgp")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-openpgp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.9)
+ ("rust-buffered-reader" ,rust-buffered-reader-0.9)
+ ("rust-bzip2" ,rust-bzip2-0.3)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-idna" ,rust-idna-0.1)
+ ("rust-lalrpop" ,rust-lalrpop-0.17)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memsec" ,rust-memsec-0.5)
+ ("rust-nettle" ,rust-nettle-5)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
+ ("rust-time" ,rust-time-0.1))))))
+
(define-public sequoia-sq
(package
(name "sequoia-sq")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 42/42] gnu: rust-sequoia-rfc2822-0.9: Move to (gnu packages sequoia).
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (40 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 41/42] gnu: rust-sequoia-openpgp-0.9: Move to (gnu packages sequoia) Hartmut Goebel
@ 2021-12-18 20:49 ` Hartmut Goebel
2021-12-30 0:27 ` [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Nicolas Goaziou
42 siblings, 0 replies; 46+ messages in thread
From: Hartmut Goebel @ 2021-12-18 20:49 UTC (permalink / raw)
To: 52610
* gnu/packages/crates-io.scm (rust-sequoia-rfc2822-0.9): Move package to ...
* gnu/packages/sequoia.scm: ... here. [arguments]<skip-build?> Add.
<cargo-development-inputs>: Remove. [description] Reformat and add markup.
---
gnu/packages/crates-io.scm | 39 --------------------------------------
gnu/packages/sequoia.scm | 28 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fb35277a4..5d62156abe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46923,45 +46923,6 @@ formats:
fragment of code.")
(license (list license:expat license:asl2.0))))
-(define-public rust-sequoia-rfc2822-0.9
- (package
- (name "rust-sequoia-rfc2822")
- (version "0.9.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-rfc2822" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-failure" ,rust-failure-0.1)
- ("rust-lalrpop" ,rust-lalrpop-0.17)
- ("rust-lalrpop-util" ,rust-lalrpop-util-0.17))
- #:cargo-development-inputs
- (("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-rand" ,rust-rand-0.6))))
- (home-page "https://sequoia-pgp.org/")
- (synopsis "RFC 2822 name-addr parser")
- (description
- "Currently, this crate only recognizes the RFC 2822 name-addr and
-addr-spec productions, i.e., things of the form:
-
-Name (Comment) <email@@example.org>
-
-and
-
-email@@example.org
-
-Although the above appear simple to parse, RFC 2822's whitespace and comment
-rules are rather complex. This crate implements the whole grammar." )
- (license license:gpl3)))
-
(define-public rust-serde-1
(package
(name "rust-serde")
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 3db85a9eba..bbab42bff8 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -283,6 +283,34 @@ This Guix package is built to use the nettle cryptographic library.")
("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
("rust-time" ,rust-time-0.1))))))
+(define-public rust-sequoia-rfc2822-0.9
+ (package
+ (name "rust-sequoia-rfc2822")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-rfc2822" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-failure" ,rust-failure-0.1)
+ ("rust-lalrpop" ,rust-lalrpop-0.17)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.17))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "RFC 2822 name-addr parser")
+ (description "Currently, this crate only recognizes the RFC 2822 name-addr
+and addr-spec productions, i.e., things of the form: @code{Name (Comment)
+<email@@example.org>} and @code{email@@example.org}
+
+Although the above appear simple to parse, RFC 2822's whitespace and comment
+rules are rather complex. This crate implements the whole grammar." )
+ (license license:gpl3)))
+
(define-public sequoia-sq
(package
(name "sequoia-sq")
--
2.30.2
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6
2021-12-18 20:49 [bug#52610] [PATCH 00/42] Revising sequoia packaging and update to 1.6 Hartmut Goebel
` (41 preceding siblings ...)
2021-12-18 20:49 ` [bug#52610] [PATCH 42/42] gnu: rust-sequoia-rfc2822-0.9: " Hartmut Goebel
@ 2021-12-30 0:27 ` Nicolas Goaziou
2021-12-30 20:41 ` Hartmut Goebel
2021-12-30 20:42 ` bug#52610: " Hartmut Goebel
42 siblings, 2 replies; 46+ messages in thread
From: Nicolas Goaziou @ 2021-12-30 0:27 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 52610
Hello
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> This implements the following changes I announced some weeks ago, see
> <https://lists.gnu.org/archive/html/guix-devel/2021-11/msg00221.html>.
> It also updates each sequoia package to its current version.
>
> * Move all sequoia related crates in to sequoia.scm. As of now these are only
> rust-sequoia-openpgp-0.9, rust-sequoia-rfc2822-0.9 and there is only on
> package depending on them rust-libpijul-0.12
>
> * bufferedreader, rust-nettle and other crates from the sequoia project but
> not having "sequoia" (or such) in the name would be kept in crates-io.scm
>
> * In sequoia.scm there would be all sequoia crates, with the app packages
> named without "rust-" prefix ("sequoia-sq", …)
>
> * The current "sequoia" package will become a "wrapper", just propagating (or
> copying, what ever is more common in guix) the other packages which have an
> actual output.
Nice.
Note that some patches are not necessary anymore (e.g., updating
rust-criterion-0.3).
Also, please remove trailing #t in packages definitions (snippets and
phases) and make sequoia use new package style (e.g., $#sequoia-sqv
instead of (assoc-ref %build-inputs "sequoia-sqv") and $#output instead
of (assoc-ref %outputs "out")).
Otherwise, LGTM.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 46+ messages in thread