[PATCH 0/24]: gnu: just: New package.

  • Open
  • quality assurance status badge
Details
2 participants
  • Maxime Devos
  • Jean Pierre De Jesus DIAZ
Owner
unassigned
Submitted by
Jean Pierre De Jesus DIAZ
Severity
normal
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:11
(name . guix-patches@gnu.org)(address . guix-patches@gnu.org)
XIgT8OYByUDOui78ZmWy4vc5t0CbnZ8-DDFuRbnbHvG6iPWs3Jmfjl1SEKiWiVltYuIUin_yjqMm6fhzbNLORUyeeWoAJE34E-V5wgvOkmU=@jeandudey.tech
Hello,

This patch series add the `just' command line runnner package. [1]


Jean-Pierre De Jesus DIAZ
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:13
[PATCH 1/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
ZWepfBSFGcf7uHogLgJUdzBpV2dTiqI72JM8Lb9kO--Zs0d5RdCAdBFvklkOXMZuP6uGcW6j1fIOG8PrNhnZ9YDE0VjzrLGDhf6piUqZotE=@jeandudey.tech
Empty Message
From d1f27f1bdc1df39eb8a51910edc114a6df536ff9 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Sun, 17 Jul 2022 23:00:47 +0200
Subject: [PATCH 01/24] gnu: rust-temptree-0.2: New package.

* gnu/packages/crates-io.scm (rust-temptree-0.2): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16ac36c9f5..e38136b3d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin@corp.mail.ru>
+;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -61951,6 +61952,26 @@ (define-public rust-temporary-0.6
"The package provides means of managing temporary files and directories.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-temptree-0.2
+ (package
+ (name "rust-temptree")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "temptree" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c461j4xrjp1mz89fb3rmv8w36m1dm1nymv9ny60hh0v4pc99nlg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/casey/temptree")
+ (synopsis "Temporary trees of files")
+ (description "Temporary trees of files")
+ (license license:cc0)))
+
(define-public rust-tendril-0.4
(package
(name "rust-tendril")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:13
[PATCH 2/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
OYT3Nsf_SPT6lKr9052vBvCMBB8pxj010pUVKB-_uOGu2X3xFbeBn2CH4nx9ApgkIIxsEC9T8K-zSPfigjX4j2nTuJHW-x9vQdu4kifdT20=@jeandudey.tech
Empty Message
From 0670a7b78ee7f24faefe64b0b4804398367310ca Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:29:11 +0200
Subject: [PATCH 02/24] gnu: rust-executable-path-1: New package.

* gnu/packages/crates-io.scm (rust-executable-path-1): New variable.
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e38136b3d6..99086140d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20882,6 +20882,23 @@ (define-public rust-event-listener-2
blocking data structures.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-executable-path-1
+ (package
+ (name "rust-executable-path")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "executable-path" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y0lhhrx9f9q1f81am3b20f8znixjcvqfg7kx220pjg3i5nmmg1y"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/casey/rust-executable-path")
+ (synopsis "Get the path of a binary target's executable")
+ (description "Get the path of a binary target's executable")
+ (license license:cc0)))
+
(define-public rust-exitcode-1
(package
(name "rust-exitcode")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:14
[PATCH 3/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
RzF1IXdNBmC_RDP94ag-x6Tt6WsFmnrQPhzeKuMM6XdGELUgGEI6jCt6stu_MZsAZHBLiyc0G1TsQ0fMd0VjS6FGAzzQQm6Oj9gB5Rc_zno=@jeandudey.tech
Empty Message
From 8f57d1a62d130f8dc78f040fead7dade6b91b06f Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:30:26 +0200
Subject: [PATCH 03/24] gnu: rust-cradle-0.2: New package.

* gnu/packages/crates-io.scm (rust-cradle-0.2): New variable.
---
gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)

Toggle diff (88 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99086140d4..52bc87230c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54,6 +54,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
@@ -90,6 +91,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages vim)
#:use-module (gnu packages webkit)
#:use-module (srfi srfi-1))
@@ -13721,6 +13723,65 @@ (define-public rust-cpuprofiler-0.0
(description "This package provides bindings to Google's cpu profiler.")
(license license:bsd-2)))
+(define-public rust-cradle-0.2
+ (package
+ (name "rust-cradle")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "cradle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16n04y60jps91dsw5fs6p8zash052y82aclg57kkvm9320n155kh"))
+ (modules '((guix build utils)))
+ (snippet
+ `(substitute* "Cargo.toml"
+ ;; Relax rustversion version.
+ (("1\\.0\\.4") "1")
+ ;; Relax bitflags version. It is locked to support older
+ ;; compilers.
+ (("=1\\.2\\.1") "1")
+ ;; Relax nix version.
+ (("0\\.22\\.2") "0.22")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:features '("test_executables")
+ #:cargo-test-flags '("--release"
+ "--features" "test_executables"
+ "--"
+ "--skip=memory_test") ;; Tries to run `cargo run'.
+ #:cargo-inputs
+ (("rust-executable-path" ,rust-executable-path-1)
+ ("rust-gag" ,rust-gag-0.1)
+ ("rust-nix" ,rust-nix-0.22)
+ ("rust-rustversion" ,rust-rustversion-1))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-unindent" ,rust-unindent-0.1)
+ ("rust-bitflags" ,rust-bitflags-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (substitute* "src/lib.rs"
+ (("#!/usr/bin/env bash")
+ (string-append "#!" (which "bash"))))
+ ;; Fix documentation test that tries to access $HOME.
+ (substitute* "src/input.rs"
+ (("run!\\(\"ls\",.*\"HOME\".*$")
+ "run!(\"ls\")\n")))))))
+ (inputs
+ (list coreutils
+ which
+ xxd))
+ (home-page "https://github.com/soenkehahn/cradle")
+ (synopsis "Execute child processes with ease")
+ (description "Execute child processes with ease")
+ (license license:cc0)))
+
(define-public rust-crates-index-0.17
(package
(name "rust-crates-index")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:14
[PATCH 4/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
sgqaXrM4M-fqDfiuWORgZK48ORRSiv_yfe-No3xZQK0FmXOpg-bSM64J0KYlvQyijrA9_tYbhc_TcJQ2GPumks4-Kzr7xG2Go3iqq3lr2GI=@jeandudey.tech
Empty Message
From 0b022089c6533e065dd6e6fb2d5ea117cfcc6762 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:33:23 +0200
Subject: [PATCH 04/24] gnu: rust-zerocopy-derive-0.3: New package.

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.3): New variable.
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.2)[inherit]:
Inherit `rust-zerocopy-derive-0.3'.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52bc87230c..d65db2e231 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72113,8 +72113,34 @@ (define-public rust-zerocopy-0.3
serialization.")
(license license:bsd-3)))
+(define-public rust-zerocopy-derive-0.3
+ (package
+ (name "rust-zerocopy-derive")
+ (version "0.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17rab2i1vwmxcr7c6r6xv55nhy41wlay0lpfcyl4vqpgh8mwiyx0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build #t ;; error[E0463]: can't find crate for `rustc`.
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-synstructure" ,rust-synstructure-0.12))))
+ (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy/zerocopy-derive")
+ (synopsis "Custom derive for traits from the zerocopy Rust crate")
+ (description
+ "This package provides custom derive for traits from the zerocopy Rust
+crate.")
+ (license license:bsd-3)))
+
(define-public rust-zerocopy-derive-0.2
(package
+ (inherit rust-zerocopy-derive-0.3)
(name "rust-zerocopy-derive")
(version "0.2.1")
(source
@@ -72130,13 +72156,7 @@ (define-public rust-zerocopy-derive-0.2
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1)
- ("rust-synstructure" ,rust-synstructure-0.12))))
- (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy/zerocopy-derive")
- (synopsis "Custom derive for traits from the zerocopy Rust crate")
- (description
- "This package provides custom derive for traits from the zerocopy Rust
-crate.")
- (license license:bsd-3)))
+ ("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-zeroize-1
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:15
[PATCH 5/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
wwvvoRZYf68VgIerCImxwm5v_awFFSTRFCF1aMhOL-fEKV74OXKYRzlHlwNUQjRqyJ9vHBDPP2uBdfljG_3vDLc_t2sMuWtzrnSlFB0wXl0=@jeandudey.tech
Empty Message
From f34660848fb99c143a478bd4055dbc199706661c Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:38:11 +0200
Subject: [PATCH 05/24] gnu: rust-zerocopy-0.6: New variable.

* gnu/packages/crates-io.scm (rust-zerocopy-0.6): New variable.
* gnu/packages/crates-io.scm (rust-zerocopy-0.3)[inherit]: Inherit
`rust-zerocopy-0.6'.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d65db2e231..b027b5766a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72089,8 +72089,34 @@ (define-public rust-zbase32-0.1
(description "This package provides an implementation of zbase32.")
(license license:lgpl3+)))
+(define-public rust-zerocopy-0.6
+ (package
+ (name "rust-zerocopy")
+ (version "0.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))
+ (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy")
+ (synopsis "Utilities for zero-copy parsing and serialization")
+ (description
+ "This package provides utilities for zero-copy parsing and
+serialization.")
+ (license license:bsd-3)))
+
(define-public rust-zerocopy-0.3
(package
+ (inherit rust-zerocopy-0.6)
(name "rust-zerocopy")
(version "0.3.1")
(source
@@ -72105,13 +72131,7 @@ (define-public rust-zerocopy-0.3
`(#:skip-build? #t
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
- ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))
- (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy")
- (synopsis "Utilities for zero-copy parsing and serialization")
- (description
- "This package provides utilities for zero-copy parsing and
-serialization.")
- (license license:bsd-3)))
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))))
(define-public rust-zerocopy-derive-0.3
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:15
[PATCH 6/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
193KhARxABVy1aWrm_tV98ZzokB8vziz27r_BEQelPbYHRX9giHA2Szfxg9wT_5_ZHzLJYHE1sCUgZA7HR18TWcjpSYQ5M5yuqWScKku10o=@jeandudey.tech
Empty Message
From d36df7a21e1dea2ee9a3f977ce21099bfa8c3864 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 13:38:30 +0200
Subject: [PATCH 06/24] gnu: rust-roaring-0.9: New package.

* gnu/packages/crates-io.scm (rust-roaring-0.9): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b027b5766a..fea9bb9c73 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14846,6 +14846,38 @@ (define-public rust-crunchy-0.1
(sha256
(base32 "1nnbh2k3pv1diyd0i0p3a08kd4afqc17yz0b43hn5xn9qlqs9x52"))))))
+(define-public rust-roaring-0.9
+ (package
+ (name "rust-roaring")
+ (version "0.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "roaring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xx5hl7vplvn7ljw8libpvs04j3dpdhg233yzrb9j09j9smrqlyx"))
+ (modules '((guix build utils)))
+ (snippet
+ `(substitute* "Cargo.toml"
+ ;; Relax bytemuck version.
+ (("1\\.7\\.3") "1")
+ ;; Relax retain-mut version.
+ (("0\\.1\\.6") "0.1")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1))
+ #:cargo-development-inputs
+ (("rust-proptest" ,rust-proptest-1))))
+ (home-page "http://roaringbitmap.org/")
+ (synopsis "Compressed bitmaps")
+ (description "This package is a pure Rust implementation of roaring bitmaps
+compressed bitmaps.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-roxmltree-0.14
(package
(name "rust-roxmltree")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:16
[PATCH 7/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
IZxNhWvqjRxsMC0U1DB391sXqIMlDgc1qH63NG8TE_0skzl3Vq4r8XSz-EpED3D0eVuCX8DeJ9l8iep8WO1xyTyShKLJ5h7bNGPxfEycGUk=@jeandudey.tech
Empty Message
From bb7a41bb90119fbe7d239767081da564c9c4b736 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:39:16 +0200
Subject: [PATCH 07/24] gnu: rust-unicode-indent-1: New package.

* gnu/packages/crates-io.scm (rust-unicode-indent-1): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fea9bb9c73..bcfc24e929 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68208,6 +68208,34 @@ (define-public rust-unicode-categories-0.1
a member of a certain category of Unicode characters.")
(license (list license:expat license:asl2.0))))
+(define-public rust-unicode-ident-1
+ (package
+ (name "rust-unicode-ident")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "unicode-ident" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19zf5lzhzix2s35lp5lckdy90sw0kfi5a0ii49d24dcj7yk1pihm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; Generated assets for tests not included.
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-fst" ,rust-fst-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-roaring" ,rust-roaring-0.9)
+ ("rust-ucd-trie" ,rust-ucd-trie-0.1)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page "https://github.com/dtolnay/unicode-ident")
+ (synopsis "Determine characters XID_Start or XID_Continue properties")
+ (description
+ "Determine whether characters have the @code{XID_Start} or
+@code{XID_Continue} properties according to Unicode Standard Annex #31.")
+ (license (list license:expat license:asl2.0 license:unicode))))
+
(define-public rust-unicode-linebreak-0.1
(package
(name "rust-unicode-linebreak")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:16
[PATCH 8/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
UjNVjsKWNPQ_jk4FFd1_8M8j9_rM-6fvScLXWbPFOxYQWYPTr2CqMUhIW2t8MAtJlFrFjTPSD-JXFjsaAnsnyty84WTFCyFsV8HzmTPijY8=@jeandudey.tech
Empty Message
From ec53c913c533ffe384480df4e4d855053e9c0d8d Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:45:55 +0200
Subject: [PATCH 08/24] gnu: rust-uuid-macro-internal-1: New package.

* gnu/packages/crates-io.scm (rust-uuid-macro-internal-1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bcfc24e929..43a7086ced 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69125,6 +69125,33 @@ (define-public rust-uuid-0.5
("rust-serde" ,rust-serde-1)
("rust-sha1" ,rust-sha1-0.2))))))
+(define-public rust-uuid-macro-internal-1
+ (package
+ (name "rust-uuid-macro-internal")
+ (version "1.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "uuid-macro-internal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zf96l5vby3r8qrr6ncmm1bqp0hhljy7xfvs4d8gl3lrln0p33sl"))
+ (modules '((guix build utils)))
+ (snippet
+ `(substitute* "Cargo.toml"
+ ;; Relax quote version.
+ (("1\\.0\\.10") "1")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/uuid-rs/uuid")
+ (synopsis "Private implementation details of the uuid! macro.")
+ (description "Private implementation details of the @code{uuid!} macro.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-v-frame-0.2
(package
(name "rust-v-frame")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:16
[PATCH 9/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
B7KGmk-g4ErA4ZoszA75okWWGHKfOjooocw4lMNA7-XQehs_i2ssqyKPam0Z32siV8l7sLpoP-Cw4JOnTHjSDHOciouAXJftusQrPCDhW3g=@jeandudey.tech
Empty Message
From 351f7c3f6b8ef5a05178aea25479afe009ed6858 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:47:38 +0200
Subject: [PATCH 09/24] gnu: rust-sha1-smol-1: New package.

* gnu/packages/crates-io.scm (rust-sha1-smol-1): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43a7086ced..6434d684d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55639,6 +55639,35 @@ (define-public rust-sha1-asm-0.4
(base32
"1i1i8viy6y30mv9v5hwhg9w6b722qkyh9c6n8bn4d27jpv14pg0s"))))))
+(define-public rust-sha1-smol-1
+ (package
+ (name "rust-sha1-smol")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "sha1_smol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04nhbhvsk5ms1zbshs80iq5r1vjszp2xnm9f0ivj38q3dhc4f6mf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ ;; For rust-openssl.
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list openssl))
+ (home-page "https://github.com/mitsuhiko/sha1-smol")
+ (synopsis "Rust implementation of SHA1")
+ (description "Minimal dependency free implementation of SHA1 for Rust.")
+ (license license:bsd-3)))
+
(define-public rust-sha1collisiondetection-0.2
(package
(name "rust-sha1collisiondetection")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:17
[PATCH 10/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
osNK430Q3jmzJXFuPwbnJ4WsxixLPwAA9wYQihcFgB7H5CAQtJEZw_t7UaxTPLjI0wNlOZiQVDvTIR0ieF-vf-rvqtrFS2PlW6mk0wnqqaQ=@jeandudey.tech
Empty Message
From 530b84492786d3ae8dd8709fafbf390c037b6336 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:49:57 +0200
Subject: [PATCH 10/24] gnu: rust-typenum-1: Update to 1.15.0.

---
gnu/packages/crates-io.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6434d684d9..97773de336 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67682,7 +67682,7 @@ (define-public rust-typemap-0.3
(define-public rust-typenum-1
(package
(name "rust-typenum")
- (version "1.12.0")
+ (version "1.15.0")
(source
(origin
(method url-fetch)
@@ -67690,8 +67690,11 @@ (define-public rust-typenum-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0cvbksljz61ian21fnn0h51kphl0pwpzb932bv4s0rwy1wh8lg1p"))))
+ "11yrvz1vd43gqv738yw1v75rzngjbs7iwcgzjy3cq5ywkv2imy6w"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-scale-info" ,rust-scale-info-1))))
(home-page "https://github.com/paholg/typenum")
(synopsis "Rust library for type-level numbers evaluated at compile time")
(description "Typenum is a Rust library for type-level numbers evaluated at
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:17
[PATCH 11/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
pKjZnQbAld1kny1QLybFX1xsoLC6ilLuVG2gXokcdCl4Ar12Edj3fu0NzyNtOxIKflDcOYPmiOuRkxN8_VibagjY9V5WS3JO_Sf73lq_b2Y=@jeandudey.tech
Empty Message
Attachment: file
From 89432546ce41d502dc252fc478c288470e1ab068 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:52:11 +0200
Subject: [PATCH 11/24] gnu: rust-crypto-common-0.1: Update to 0.1.6.

* gnu/packages/crates-io.scm (rust-crypto-common-0.1): Update to 0.1.6.
---
gnu/packages/crates-io.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97773de336..add17fdd57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14999,21 +14999,20 @@ (define-public rust-crypto-bigint-0.2
(define-public rust-crypto-common-0.1
(package
(name "rust-crypto-common")
- (version "0.1.1")
+ (version "0.1.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "crypto-common" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+ (base32 "1cvby95a6xg7kxdz5ln3rl9xh66nz66w46mm3g56ri1z5x815yqv"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build?
- #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-rand-core" ,rust-rand-core-0.6))))
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-typenum" ,rust-typenum-1))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Common cryptographic traits")
(description "Common cryptographic traits")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:17
[PATCH 12/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
P7db4r7PiKbfSvIQxYQ1--ZLp3W0BZR8WNaYUSjN4rWliXLm2f-ppdxFeaFKZKjy9EtUj2uR71GHUz9T0Zo7YicpR3dO4Esv74tfeIuLSKI=@jeandudey.tech
Empty Message
From 78f182003bfae904dc510d838fdba7fe968726e3 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:53:33 +0200
Subject: [PATCH 12/24] gnu: rust-digest-0.10: Update to 0.10.3.

* gnu/packages/crates-io.scm (rust-digest-0.10): Update to 0.10.3.
---
gnu/packages/crates-io.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index add17fdd57..fc45358a26 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18032,7 +18032,7 @@ (define-public rust-diffus-derive-0.10
(define-public rust-digest-0.10
(package
(name "rust-digest")
- (version "0.10.1")
+ (version "0.10.3")
(source
(origin
(method url-fetch)
@@ -18041,15 +18041,13 @@ (define-public rust-digest-0.10
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
+ "01nmj9cci5qdm4q4wlmz104rzr68d5m823kdzd95bypslq68dyzj"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.3)
("rust-block-buffer" ,rust-block-buffer-0.10)
("rust-crypto-common" ,rust-crypto-common-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14)
("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Traits for cryptographic hash functions")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:18
[PATCH 13/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
idau-zM8MUGXyijO-kSwOSVGEPp4YB5t-rlnT25yKy1u4cJzQxkReVWA4-PU7J83HIc1xf5fln211CmBswecDs290L-Pk8nXdfPXwwaAuG0=@jeandudey.tech
Empty Message
From bd8bf8133e07ae066b78d8d9fa47a652a66ad8c5 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 14:19:32 +0200
Subject: [PATCH 13/24] gnu: rust-md5-asm-0.5: New package.

* gnu/packages/crates-io.scm (rust-md5-asm-0.5): New variable.
* gnu/packages/crates-io.scm (rust-md5-asm-0.4)[inherit]: Inherit
`rust-md5-asm-0.5'.
---
gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc45358a26..d87789ae9a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33992,10 +33992,10 @@ (define-public rust-md5-0.3
(base32
"0j2s8aqdkhwhy7awga2bmv5n8qq8bgy8672iha9f3y871dm6vibr"))))))
-(define-public rust-md5-asm-0.4
+(define-public rust-md5-asm-0.5
(package
(name "rust-md5-asm")
- (version "0.4.3")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
@@ -34004,7 +34004,7 @@ (define-public rust-md5-asm-0.4
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0gpk5647js1k084jc7pg2gji0cvl6hjkkbfia6lnpk8y4shyairv"))))
+ "1ixmkg8j7sqy9zln6pz9xi2dl2d9zpm8pz6p49za47n1bvradfbk"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -34016,6 +34016,25 @@ (define-public rust-md5-asm-0.4
(supported-systems '("x86_64-linux" "i686-linux"))
(license license:expat)))
+(define-public rust-md5-asm-0.4
+ (package
+ (inherit rust-md5-asm-0.5)
+ (name "rust-md5-asm")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "md5-asm" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gpk5647js1k084jc7pg2gji0cvl6hjkkbfia6lnpk8y4shyairv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1))))))
+
(define-public rust-mdns-0.3
(package
(name "rust-mdns")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:18
[PATCH 14/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
Us974x4QbKrKmaxo7AICwxQwRY13ZonGE6drZn8pp_mak3FUydKiyz5H0CrYoUOWk8Shhb5xlRpBsokiy-pwGFF6fJjDBSxpQsHRujlnLfA=@jeandudey.tech
Empty Message
From d5ba8beca148d92d9190099ab55e56a7d2d8ac9f Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:55:18 +0200
Subject: [PATCH 14/24] gnu: rust-md-5-0.10: New package.

* gnu/packages/crates-io.scm (rust-md-5-0.10): New variable.
* gnu/packages/crates-io.scm (rust-md-5-0.9)[inherit]: Inherit
`rust-md-5-0.10'.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d87789ae9a..bebe3b6407 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33892,8 +33892,37 @@ (define-public rust-maybe-uninit-2
"This package provides MaybeUninit for friends of backwards compatibility.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-md-5-0.10
+ (package
+ (name "rust-md-5")
+ (version "0.10.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "md-5" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10h5kna43cpggp9hy1hz4zb1qpixdl4anf3hdj3gfwhb3sr4d1k5"))
+ (modules '((guix build utils)))
+ (snippet
+ `(substitute* "Cargo.toml"
+ ;; Relax hex-literal version.
+ (("0\\.2\\.2") "0.2")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-md5-asm" ,rust-md5-asm-0.5))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "MD5 hash function")
+ (description "MD5 hash function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-md-5-0.9
(package
+ (inherit rust-md-5-0.10)
(name "rust-md-5")
(version "0.9.1")
(source
@@ -33905,7 +33934,6 @@ (define-public rust-md-5-0.9
(sha256
(base32
"059ajjacz1q3cms7vl6cvhdqs4qdw2nnwj9dq99ryzv0p6djfnkv"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
@@ -33914,11 +33942,7 @@ (define-public rust-md-5-0.9
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/hashes")
- (synopsis "MD5 hash function")
- (description "MD5 hash function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-md-5-0.8
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:19
[PATCH 15/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
sDQLS1cnY_mPMqRYzbcIDwgxNBHbtSgs1RoiSmSHsFR_fWCukl9hpZeBvY9-0tHC_14TtvFJEZUI_Ke2YD3F3UwROZoznfRn5wuyN-Of9fc=@jeandudey.tech
Empty Message
From a417f81d23ed7397b30816d94d1a54cf140cbf03 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:57:02 +0200
Subject: [PATCH 15/24] gnu: rust-atomic-0.5: New package.

* gnu/packages/crates-io.scm (rust-atomic-0.5): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bebe3b6407..4be8eef78e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5092,6 +5092,26 @@ (define-public rust-atom-0.3
(description "This package provides a safe abstraction around AtomicPtr.")
(license license:asl2.0)))
+(define-public rust-atomic-0.5
+ (package
+ (name "rust-atomic")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-1))))
+ (home-page "https://github.com/Amanieu/atomic-rs")
+ (synopsis "Generic Atomic<T> wrapper type")
+ (description "Generic @code{Atomic<T>} wrapper type")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-atomic-polyfill-0.1
(package
(name "rust-atomic-polyfill")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:19
[PATCH 16/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
higu-7Oanq-8PoSyGDzzHf3o9EoqsHTK8XwbdxAgssCiYin7PZK5n1_mvYx2OBRcOMExWliF8mZPXTsuzcVahn-vszVctD_s5ai_XqjhU7I=@jeandudey.tech
Empty Message
From f6ec6ee7c4dde9b4b7c98e1a1bf232e395093867 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:59:06 +0200
Subject: [PATCH 16/24] gnu: rust-uuid-1: New package.

* gnu/packages/crates-io.scm (rust-uuid-1): New variable.
* gnu/packages/crates-io.scm (rust-uuid-0.8)[inherit]: Inherit
`rust-uuid-1'.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++------
1 file changed, 41 insertions(+), 7 deletions(-)

Toggle diff (77 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4be8eef78e..e066f75a90 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69131,8 +69131,48 @@ (define-public rust-utf8parse-0.1
(base32
"0zamsj2986shm4x9zncjf2m5qy9scaw7qnxw4f89b2afpg6a8wl7"))))))
+(define-public rust-uuid-1
+ (package
+ (name "rust-uuid")
+ (version "1.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "uuid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bwdz7bgigbh4625ga564xxbqy4srhbmzq3nqkz1ypsd67s6jr6x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-atomic" ,rust-atomic-0.5)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-md-5" ,rust-md-5-0.10)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-sha1-smol" ,rust-sha1-smol-1)
+ ("rust-slog" ,rust-slog-2)
+ ("rust-uuid-macro-internal" ,rust-uuid-macro-internal-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/uuid-rs/uuid")
+ (synopsis "Library to generate and parse UUIDs")
+ (description
+ "This package provides a library to generate and parse UUIDs.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-uuid-0.8
(package
+ (inherit rust-uuid-1)
(name "rust-uuid")
(version "0.8.2")
(source
@@ -69144,7 +69184,6 @@ (define-public rust-uuid-0.8
(sha256
(base32
"1dy4ldcp7rnzjy56dxh7d2sgrcvn4q77y0a8r0a48946h66zjp5w"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -69153,12 +69192,7 @@ (define-public rust-uuid-0.8
("rust-serde" ,rust-serde-1)
("rust-sha1" ,rust-sha1-0.6)
("rust-slog" ,rust-slog-2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/uuid-rs/uuid")
- (synopsis "Library to generate and parse UUIDs")
- (description
- "This package provides a library to generate and parse UUIDs.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-uuid-0.7
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:19
[PATCH 17/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
G0lmT26_ai5cwOx2RfCNgyvSKN8VlZDUkcjPQkVuboWog66ypDNj_hR_RUYNmqYQ8JVnjEkyOlg44zn90tHFemfOOhcsBFw6jGz8H0lSYuA=@jeandudey.tech
Empty Message
From dcade63e5035c6ac27637546bdb9b8a5330a68bf Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 01:00:42 +0200
Subject: [PATCH 17/24] gnu: rust-target-2: New package.

* gnu/packages/crates-io.scm (rust-target-2): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e066f75a90..cf01a8d691 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61301,6 +61301,27 @@ (define-public rust-tar-0.4
(license (list license:asl2.0
license:expat))))
+(define-public rust-target-2
+ (package
+ (name "rust-target")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "target" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p5hi5vxcs8w95qmg9hsv985g8kaxjrzjlgsybmf4h13a1qjx1ds"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-executable-path" ,rust-executable-path-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
+ (home-page "https://github.com/casey/target")
+ (synopsis "Get information on compilation target")
+ (description "Get information on compilation target")
+ (license license:cc0)))
+
(define-public rust-target-build-utils-0.3
(package
(name "rust-target-build-utils")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:20
[PATCH 18/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
GfIiyJbLh1SqMVxyX8lm1oKoAJMRQtYmKpxwUhJZM9rlIKQQuWShyqG2s1xuF0EAHn_mcOP9H3xCT9fvuCzUKjZMKhGTZvpUZdKh9oAIRR0=@jeandudey.tech
Empty Message
From 807fc3d68325c5711659ca68ceb71e6d070ef34d Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 01:04:00 +0200
Subject: [PATCH 18/24] gnu: rust-strum-macros-0.24: New package.

* gnu/packages/crates-io.scm (rust-strum-macros-0.24): New variable.
* gnu/packages/crates-io.scm (rust-strum-macros-0.21)[inherit]: Inherit
`rust-strum-macros-0.24'.
---
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf01a8d691..e57142e798 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59775,8 +59775,37 @@ (define-public rust-strum-0.18
`(#:cargo-inputs
(("rust-strum-macros" ,rust-strum-macros-0.18))))))
+(define-public rust-strum-macros-0.24
+ (package
+ (name "rust-strum-macros")
+ (version "0.24.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "strum_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12wig3cx2l9hj50jb4ly1p9pgfnj9w2zj00qq0b47ycg1vhbvbjg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; circular strum dev-dependency, remove this once rust-strum-0.24 is
+ ;; added.
+ #:skip-build? #t
+ #:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/Peternator7/strum")
+ (synopsis "Set of macros for working with enums and strings")
+ (description
+ "This crate provides helpful macros for working with enums and strings.")
+ (license license:expat)))
+
(define-public rust-strum-macros-0.21
(package
+ (inherit rust-strum-macros-0.24)
(name "rust-strum-macros")
(version "0.21.1")
(source
@@ -59786,19 +59815,13 @@ (define-public rust-strum-macros-0.21
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-heck" ,rust-heck-0.3)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/Peternator7/strum")
- (synopsis "Set of macros for working with enums and strings")
- (description
- "This crate provides helpful macros for working with enums and strings.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-strum-macros-0.20
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:20
[PATCH 19/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
-74xEEvLJekkrqIGRc6OYoVQKFuTVy8ubFIIISwinebc5PdvdnVO1euuY2RFyla2WYRngLn_mVkbeAPCXXvFNC8Pyt-Y5cLc3gtv0wSgyc4=@jeandudey.tech
Empty Message
From b3a2409e1321d0d26d51cdcb766a093f30356f3d Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 01:05:38 +0200
Subject: [PATCH 19/24] gnu: rust-strum-0.24: New package.

* gnu/packages/crates-io.scm (rust-strum-0.24): New variable.
* gnu/packages/crates-io.scm (rust-strum-0.21)[inherit]: Inherit
`rust-strum-0.24'.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e57142e798..bd4e513de6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59701,8 +59701,33 @@ (define-public rust-structopt-derive-0.2
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-strum-0.24
+ (package
+ (name "rust-strum")
+ (version "0.24.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; fails with import errors.
+ #:cargo-inputs
+ (("rust-phf" ,rust-phf-0.10)
+ ("rust-strum-macros" ,rust-strum-macros-0.24))))
+ (home-page "https://github.com/Peternator7/strum")
+ (synopsis "Set of traits for working with enums and strings")
+ (description
+ "Strum is a set of macros and traits for working with enums and strings
+easier in Rust.")
+ (license license:expat)))
+
(define-public rust-strum-0.21
(package
+ (inherit rust-strum-0.24)
(name "rust-strum")
(version "0.21.0")
(source
@@ -59712,17 +59737,10 @@ (define-public rust-strum-0.21
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-strum-macros" ,rust-strum-macros-0.21))))
- (home-page "https://github.com/Peternator7/strum")
- (synopsis "Set of traits for working with enums and strings")
- (description
- "Strum is a set of macros and traits for working with enums and strings
-easier in Rust.")
- (license license:expat)))
+ (("rust-strum-macros" ,rust-strum-macros-0.21))))))
(define-public rust-strum-0.20
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:21
[PATCH 20/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
sxELcZBwDTRYzNQWcfXgB0WpuEUJOHdFMXZzZBj4vLQpc52NTluVCo7spLznGJLljKdx7BTgiu1lhLiLjsnqr5KO4AgdNYhcyj3K3TmNd7k=@jeandudey.tech
Empty Message
From 632caf550ae45e746389703c7b3f23336b53914f Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Wed, 20 Jul 2022 12:40:01 +0200
Subject: [PATCH 20/24] gnu: rust-strum-macros-0.24: Allow build.

* gnu/packages/crates-io.scm (rust-strum-macros-0.24)
[arguments]<#:skip-build?>: Remove keyword argument.
---
gnu/packages/crates-io.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd4e513de6..c84f502827 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59806,15 +59806,14 @@ (define-public rust-strum-macros-0.24
"12wig3cx2l9hj50jb4ly1p9pgfnj9w2zj00qq0b47ycg1vhbvbjg"))))
(build-system cargo-build-system)
(arguments
- `(;; circular strum dev-dependency, remove this once rust-strum-0.24 is
- ;; added.
- #:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-rustversion" ,rust-rustversion-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-strum" ,rust-strum-0.24))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of macros for working with enums and strings")
(description
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:21
[PATCH 21/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
PJ2GlcpGq3WZ52_TZKPxfOUFoTczq3Z9Wiiiq7FICsjwwfkgLWGsh9ZM2XcECu2KvFSvxOYRfuP3MBFshuxfRj63QF7DF0Be63iT245Bl-Q=@jeandudey.tech
Empty Message
From 0338300384f9b3b3df4e630ce1f5ba641cc2afe6 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Sun, 17 Jul 2022 22:56:20 +0200
Subject: [PATCH 21/24] gnu: rust-snafu-derive-0.7: New package.

* gnu/packages/crates-io.scm (rust-snafu-derive-0.7): New variable.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.6)[inherit]: Inherit
`rust-snafu-derive-0.7'.
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c84f502827..d8d5277596 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57666,8 +57666,33 @@ (define-public rust-smol-str-0.1
clone.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-derive-0.7
+ (package
+ (name "rust-snafu-derive")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1r95zrm2i6wh2zsddmzmchh6xa2nin38qj72sg7903a4jznjc2s1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/shepmaster/snafu")
+ (synopsis "Ergonomic error handling library")
+ (description "Snafu aims to be an ergonomic error handling library. This
+package provides derive macros.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snafu-derive-0.6
(package
+ (inherit rust-snafu-derive-0.7)
(name "rust-snafu-derive")
(version "0.6.10")
(source
@@ -57677,17 +57702,11 @@ (define-public rust-snafu-derive-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/shepmaster/snafu")
- (synopsis "Ergonomic error handling library")
- (description "Snafu aims to be an ergonomic error handling library. This
-package provides derive macros.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-snafu-0.6
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:21
[PATCH 22/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
K98_6Sr-I1MiojnOTMD6efAXxE42BPMjfmkTNKPNe8G1haSE6HHkxOrmdsAZWR-9f5SnKwcuYdMv_PzsCxb6O_tfZm_ZW1HFtbmR89I3XP8=@jeandudey.tech
Empty Message
From 746e272e4415bb00a751ad62054692b5f308b53f Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Sun, 17 Jul 2022 22:58:58 +0200
Subject: [PATCH 22/24] gnu: rust-snafu-0.7: New package.

* gnu/packages/crates-io.scm (rust-snafu-0.7): New variable.
* gnu/packages/crates-io.scm (rust-snafu-0.6)[inherit]: Inherit
`rust-snafu-0.7'.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8d5277596..b61fbc1b87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57708,8 +57708,35 @@ (define-public rust-snafu-derive-0.6
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-snafu-0.7
+ (package
+ (name "rust-snafu")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wjilhxn6wcvi2421ghxwnm27h4g80py5h5mkqnmjmjnyhxr0xsi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `whatever' requires a recent compiler.
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.7))))
+ (home-page "https://github.com/shepmaster/snafu")
+ (synopsis "Ergonomic error handling library")
+ (description "Snafu aims to be an ergonomic error handling library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snafu-0.6
(package
+ (inherit rust-snafu-0.7)
(name "rust-snafu")
(version "0.6.10")
(source
@@ -57719,7 +57746,6 @@ (define-public rust-snafu-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
@@ -57728,11 +57754,7 @@ (define-public rust-snafu-0.6
("rust-futures" ,rust-futures-0.1)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-pin-project" ,rust-pin-project-0.4)
- ("rust-snafu-derive" ,rust-snafu-derive-0.6))))
- (home-page "https://github.com/shepmaster/snafu")
- (synopsis "Ergonomic error handling library")
- (description "Snafu aims to be an ergonomic error handling library.")
- (license (list license:expat license:asl2.0))))
+ ("rust-snafu-derive" ,rust-snafu-derive-0.6))))))
(define-public rust-snailquote-0.3
(package
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:22
[PATCH 23/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
WYvOW2n9fd3ErTNdRMUonqqjYjh64HKLx-OlkMbxh8pkhG0Um4H5Hm4PNgnU_BwXPGzXhdlQbGBLu5z4dSDUe6r8EP0iM9rO2S8gX35OsCo=@jeandudey.tech
Empty Message
From 96dabf73bcab0716bf3692a131c6165db1dc45b7 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Sun, 17 Jul 2022 22:51:20 +0200
Subject: [PATCH 23/24] gnu: rust-lexiclean-0.0.1: New package.

* gnu/packages/crates-io.scm (rust-lexiclean-0.0.1): New variable.
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b61fbc1b87..6c98762e7c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31309,6 +31309,23 @@ (define-public rust-lexical-5
("rust-serde-derive" ,rust-serde-derive-1)
("rust-toml" ,rust-toml-0.5))))))
+(define-public rust-lexiclean-0.0.1
+ (package
+ (name "rust-lexiclean")
+ (version "0.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "lexiclean" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rb8sky7gi75a7xxn6xrfkrbqkp465npm54p5s89ysqhgc0ja4j4"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/casey/lexiclean")
+ (synopsis "Lexically clean paths")
+ (description "Lexically clean paths")
+ (license license:cc0)))
+
(define-public rust-lexopt-0.2
(package
(name "rust-lexopt")
--
2.36.1
J
J
Jean Pierre De Jesus DIAZ wrote on 20 Jul 2022 14:22
[PATCH 24/24]: gnu: just: New package.
(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
PZo99wu-dtu2wXSs54OQLY6-Mq4hChFaOh0X5w74_jqpFPFukgMsx15awpVXEV01aMUkRL0stV_JhRjsFqunOdAx_V2Et6VRUbpdOFfxbuc=@jeandudey.tech
Empty Message
M
M
Maxime Devos wrote on 21 Jul 2022 16:37
a9ed7e0f-754c-8e0f-3df4-6bc39861c5fc@telenet.be
On 20-07-2022 14:22, Jean Pierre De Jesus DIAZ via Guix-patches via wrote:
Toggle quote (1 lines)
> Empty Message
Sending the patch seems to have gone wrong (there's Empty Message, and
the subject line is always the same).
Anyway, I looked through the package definitions a bit:
Toggle quote (23 lines)
> +         "--skip=choose::status_error"
> +         "--skip=edit::editor_working_directory"
> +         "--skip=edit::status_error"
> +         "--skip=export::setting_shebang"
> +         "--skip=export::shebang"
> +         "--skip=justfile::tests::run_shebang"
> +         "--skip=functions::env_var_functions"
> +         "--skip=functions::path_functions"
> +         "--skip=functions::path_functions2"
> +         "--skip=misc::quiet_shebang_recipe"
> +         "--skip=misc::shebang_line_numbers"
> +         "--skip=positional_arguments::shebang"
> +         "--skip=positional_arguments::variadic_shebang"
> +         "--skip=quiet::choose_status"
> +         "--skip=quiet::quiet_shebang"
> +         "--skip=shell::flag"
> +
> "--skip=working_directory::change_working_directory_to_search_justfile_parent"
> + "--skip=working_directory::justfile_and_working_directory"
> + "--skip=working_directory::justfile_without_working_directory"
> + "--skip=working_directory::justfile_without_working_directory_relative"
> +         "--skip=working_directory::search_dir_child"
> +         "--skip=working_directory::search_dir_parent")
Why are all these tests skipped?
> +    (synopsis "Lexically clean paths")
> +    (description "Lexically clean paths")
A synopsis is not the same as a description. I recommend looking at
non-Rust packages for examples, the synopsis and description of Rust
packages have historically been neglected.
> +     `(#:tests? #f ; `whatever' requires a recent compiler.
Possibly it doesn't, try setting RUSTC_BOOTSTRAP.
 (define-public rust-digest-0.10
   (package
     (name "rust-digest")
-    (version "0.10.1")
+    (version "0.10.3")
- "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
+ "01nmj9cci5qdm4q4wlmz104rzr68d5m823kdzd95bypslq68dyzj"))))
FWIW, I can confirm I got the same hash in some code I haven't submitted
yet (antioxidant).
 (define-public rust-typenum-1
   (package
     (name "rust-typenum")
-    (version "1.12.0")
+    (version "1.15.0")
     (source
       (origin
         (method url-fetch)
@@ -67690,8 +67690,11 @@ (define-public rust-typenum-1
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
- "0cvbksljz61ian21fnn0h51kphl0pwpzb932bv4s0rwy1wh8lg1p"))))
+ "11yrvz1vd43gqv738yw1v75rzngjbs7iwcgzjy3cq5ywkv2imy6w"))))
Likewise.
+    (synopsis "Rust implementation of SHA1")
+    (description "Minimal dependency free implementation of SHA1 for
Rust.")
+    (license license:bsd-3)))
I don't see the relevancy of it being implemented in Rust (Guix supports
multiple languages just fine), everything in Guix is free so no need to
mention it, it being minimal dependencies or maximal dependencies
doesn't seem relevant to me given that Guix is a package manager that
can just take care of the dependencies, and I believe the standard
spelling is SHA-1, not SHA1 though I could be wrong.
+                `(substitute* "Cargo.toml"
+                   ;; Relax quote version.
+                   (("1\\.0\\.10") "1")))))
Nice, though ` -> ' or #~ will do.
+    (synopsis "Private implementation details of the uuid! macro.")
+    (description "Private implementation details of the @code{uuid!}
macro.")
Why @code below but not above?  Also, maybe private->internal (there are
no privacy concerns), and add a comment that it is only supposed by the
rust-??? package.  Also, 'the uuid!' macro sounds ambigious, I'd just
mention the package name instead.
+    (arguments
+      `(#:tests? #f ;; Generated assets for tests not included.
Then you can add them, often switching to a git checkout helps with
things like this.
+     "Determine whether characters have the @code{XID_Start} or
+@code{XID_Continue} properties according to Unicode Standard Annex #31.")
The description must be proper sentences, which I believe to be
mentioned in (guix)Sybopses and Descriptions but I'm not sure about
that.  Also, maybe you can hyperlinkify 'Unicode Standard Annex #31'.
+    (synopsis "Compressed bitmaps")
+    (description "This package is a pure Rust implementation of roaring
bitmaps
+compressed bitmaps.")
I don't think that packages can be implementations, though they can
implement things.
This description can be much more informative, it's currently rather
minimalistic -- e.g., you could write that 'roaring bitmaps' is a very
effective bitmap compression technique and link to the site. Maybe
something like
"This package implements roaring bitmaps, an efficient technique for
compressing bitmaps [...]"
[rust-cradle-0.2]
+    (inputs
+      (list coreutils
+            which
AFAICT coreutils, which and xxd aren't used.
+    (synopsis "Get the path of a binary target's executable")
+    (description "Get the path of a binary target's executable")
It is not clear what a binary target is supposed to be from context,
'path' is ambigious (maybe: file name?), "get" is rather generic, maybe
"guess" or "determine" or "calculate" depending on what it does.
+    (synopsis "Temporary trees of files")
+    (description "Temporary trees of files")
This is not a clear description (also, synopsis and description are
identical) -- maybe it scans the file system for all files and returns
the results in a temporary tree structure?  (Going by the rust-tempfile
dependency, probably not, but that's one easy misinterpretation to make).
Greetings,
Maxime.
Attachment: OpenPGP_signature
J
J
Jean Pierre De Jesus DIAZ wrote on 21 Jul 2022 17:35
(name . Maxime Devos)(address . maximedevos@telenet.be)(name . 56663@debbugs.gnu.org)(address . 56663@debbugs.gnu.org)
eaAjGrxvz9FRp0Ssh0kBnC0zvVR_XpOy6Q87COsFl3T8ZF4OMzcBW76jtbJOq665DFcJ84oBDI9AVpMI5MNOisxFO7xrIgD1AgiI2J1BEJ4=@jeandudey.tech
Toggle quote (5 lines)
>On 20-07-2022 14:22, Jean Pierre De Jesus DIAZ via Guix-patches via >wrote:
>> Empty Message

>https://github.com/casey/temptree

An error on my side. Did not attach the patch (ProtonMail doesn't support
SMTP in order to use git send-email, I'm still porting their bridge program
to GNU Guix).

Toggle quote (2 lines)
>Why are all these tests skipped?

Most of these tests are tests specific to test shebang code, but are hard
coded to use `#!/usr/bin/env <whatever>', some of these tests could be
changed though. Didn't make patches for that because of the added
maintenance effort but will do so.

Toggle quote (1 lines)
>FWIW, I can confirm I got the same hash in some code I haven't submitted
yet (antioxidant).

Would be great if upstreamed to GNU Guix and one less patch on this
series :-).

And great work on antioxidant, tried to make each crate on this
patch series build-able so in the future switching/using
antioxidant-build-system is easier. I have also started to test various
crates to remove `#:skip-build? #f' as much as possible from
gnu/packages/crates-io.scm.


Toggle quote (6 lines)
>+ `(substitute* "Cargo.toml"
>+ ;; Relax quote version.
>+ (("1\\.0\\.10") "1")))))
>
>Nice, though ` -> ' or #~ will do.

Thought of using G-Expressions but as it isn't used on crates-io.scm yet
didn't want to change the convention there. Would be you okay if I use '?

Toggle quote (8 lines)
>[rust-cradle-0.2]
>
>+ (inputs
>+ (list coreutils
>+ which
>
>AFAICT coreutils, which and xxd aren't used.

Are required by the tests which is why I added these packages.

These are mostly used on documentation tests but the author of
the crate did not mark these as no_run so they run on the 'check
phase, and there's no easy way to disable documentation tests
or skip specific ones. I'll try to make some patches to make
some of these tests to not run.

Thanks for the review!

Will update accordingly.

Jean-Pierre De Jesus DIAZ
?
Your comment

Commenting via the web interface is currently disabled.

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

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