unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56663] [PATCH 0/24]: gnu: just: New package.
@ 2022-07-20 12:11 Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:13 ` [bug#56663] [PATCH 1/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (23 more replies)
  0 siblings, 24 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:11 UTC (permalink / raw)
  To: 56663

Hello,

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

[1]: https://github.com/casey/just

—
Jean-Pierre De Jesus DIAZ





^ permalink raw reply	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 1/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:13 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:13 ` [bug#56663] [PATCH 2/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:13 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-rust-temptree-0.2-New-package.patch --]
[-- Type: text/x-patch; name=0001-gnu-rust-temptree-0.2-New-package.patch, Size: 1842 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 2/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:13 ` [bug#56663] [PATCH 1/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:13 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:14 ` [bug#56663] [PATCH 3/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:13 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-rust-executable-path-1-New-package.patch --]
[-- Type: text/x-patch; name=0002-gnu-rust-executable-path-1-New-package.patch, Size: 1467 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 3/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:13 ` [bug#56663] [PATCH 1/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:13 ` [bug#56663] [PATCH 2/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:14 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:14 ` [bug#56663] [PATCH 4/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:14 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-gnu-rust-cradle-0.2-New-package.patch --]
[-- Type: text/x-patch; name=0003-gnu-rust-cradle-0.2-New-package.patch, Size: 3780 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 4/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (2 preceding siblings ...)
  2022-07-20 12:14 ` [bug#56663] [PATCH 3/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:14 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:15 ` [bug#56663] [PATCH 5/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:14 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-rust-zerocopy-derive-0.3-New-package.patch --]
[-- Type: text/x-patch; name=0004-gnu-rust-zerocopy-derive-0.3-New-package.patch, Size: 2645 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 5/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (3 preceding siblings ...)
  2022-07-20 12:14 ` [bug#56663] [PATCH 4/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:15 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:15 ` [bug#56663] [PATCH 6/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:15 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0005-gnu-rust-zerocopy-0.6-New-variable.patch --]
[-- Type: text/x-patch; name=0005-gnu-rust-zerocopy-0.6-New-variable.patch, Size: 2553 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 6/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (4 preceding siblings ...)
  2022-07-20 12:15 ` [bug#56663] [PATCH 5/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:15 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:16 ` [bug#56663] [PATCH 7/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:15 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0006-gnu-rust-roaring-0.9-New-package.patch --]
[-- Type: text/x-patch; name=0006-gnu-rust-roaring-0.9-New-package.patch, Size: 2036 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 7/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (5 preceding siblings ...)
  2022-07-20 12:15 ` [bug#56663] [PATCH 6/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:16 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:16 ` [bug#56663] [PATCH 8/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:16 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0007-gnu-rust-unicode-indent-1-New-package.patch --]
[-- Type: text/x-patch; name=0007-gnu-rust-unicode-indent-1-New-package.patch, Size: 2054 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 8/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (6 preceding siblings ...)
  2022-07-20 12:16 ` [bug#56663] [PATCH 7/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:16 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:16 ` [bug#56663] [PATCH 9/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:16 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0008-gnu-rust-uuid-macro-internal-1-New-package.patch --]
[-- Type: text/x-patch; name=0008-gnu-rust-uuid-macro-internal-1-New-package.patch, Size: 1883 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 9/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (7 preceding siblings ...)
  2022-07-20 12:16 ` [bug#56663] [PATCH 8/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:16 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:17 ` [bug#56663] [PATCH 10/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:16 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0009-gnu-rust-sha1-smol-1-New-package.patch --]
[-- Type: text/x-patch; name=0009-gnu-rust-sha1-smol-1-New-package.patch, Size: 1826 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 10/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (8 preceding siblings ...)
  2022-07-20 12:16 ` [bug#56663] [PATCH 9/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:17 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:17 ` [bug#56663] [PATCH 11/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:17 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0010-gnu-rust-typenum-1-Update-to-1.15.0.patch --]
[-- Type: text/x-patch; name=0010-gnu-rust-typenum-1-Update-to-1.15.0.patch, Size: 1370 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 11/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (9 preceding siblings ...)
  2022-07-20 12:17 ` [bug#56663] [PATCH 10/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:17 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:17 ` [bug#56663] [PATCH 12/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:17 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Attachment #1.2: Type: text/html, Size: 24 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0011-gnu-rust-crypto-common-0.1-Update-to-0.1.6.patch --]
[-- Type: text/x-patch; name=0011-gnu-rust-crypto-common-0.1-Update-to-0.1.6.patch, Size: 1617 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 12/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (10 preceding siblings ...)
  2022-07-20 12:17 ` [bug#56663] [PATCH 11/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:17 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:18 ` [bug#56663] [PATCH 13/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:17 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0012-gnu-rust-digest-0.10-Update-to-0.10.3.patch --]
[-- Type: text/x-patch; name=0012-gnu-rust-digest-0.10-Update-to-0.10.3.patch, Size: 1582 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 13/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (11 preceding siblings ...)
  2022-07-20 12:17 ` [bug#56663] [PATCH 12/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:18 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:18 ` [bug#56663] [PATCH 14/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:18 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0013-gnu-rust-md5-asm-0.5-New-package.patch --]
[-- Type: text/x-patch; name=0013-gnu-rust-md5-asm-0.5-New-package.patch, Size: 2119 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 14/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (12 preceding siblings ...)
  2022-07-20 12:18 ` [bug#56663] [PATCH 13/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:18 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:19 ` [bug#56663] [PATCH 15/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:18 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0014-gnu-rust-md-5-0.10-New-package.patch --]
[-- Type: text/x-patch; name=0014-gnu-rust-md-5-0.10-New-package.patch, Size: 2857 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 15/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (13 preceding siblings ...)
  2022-07-20 12:18 ` [bug#56663] [PATCH 14/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:19 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:19 ` [bug#56663] [PATCH 16/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:19 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0015-gnu-rust-atomic-0.5-New-package.patch --]
[-- Type: text/x-patch; name=0015-gnu-rust-atomic-0.5-New-package.patch, Size: 1545 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 16/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (14 preceding siblings ...)
  2022-07-20 12:19 ` [bug#56663] [PATCH 15/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:19 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:19 ` [bug#56663] [PATCH 17/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:19 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0016-gnu-rust-uuid-1-New-package.patch --]
[-- Type: text/x-patch; name=0016-gnu-rust-uuid-1-New-package.patch, Size: 3346 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 17/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (15 preceding siblings ...)
  2022-07-20 12:19 ` [bug#56663] [PATCH 16/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:19 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:20 ` [bug#56663] [PATCH 18/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:19 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0017-gnu-rust-target-2-New-package.patch --]
[-- Type: text/x-patch; name=0017-gnu-rust-target-2-New-package.patch, Size: 1581 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 18/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (16 preceding siblings ...)
  2022-07-20 12:19 ` [bug#56663] [PATCH 17/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:20 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:20 ` [bug#56663] [PATCH 19/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:20 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0018-gnu-rust-strum-macros-0.24-New-package.patch --]
[-- Type: text/x-patch; name=0018-gnu-rust-strum-macros-0.24-New-package.patch, Size: 2911 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 19/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (17 preceding siblings ...)
  2022-07-20 12:20 ` [bug#56663] [PATCH 18/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:20 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:21 ` [bug#56663] [PATCH 20/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:20 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0019-gnu-rust-strum-0.24-New-package.patch --]
[-- Type: text/x-patch; name=0019-gnu-rust-strum-0.24-New-package.patch, Size: 2635 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 20/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (18 preceding siblings ...)
  2022-07-20 12:20 ` [bug#56663] [PATCH 19/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:21 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:21 ` [bug#56663] [PATCH 21/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:21 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0020-gnu-rust-strum-macros-0.24-Allow-build.patch --]
[-- Type: text/x-patch; name=0020-gnu-rust-strum-macros-0.24-Allow-build.patch, Size: 1446 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 21/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (19 preceding siblings ...)
  2022-07-20 12:21 ` [bug#56663] [PATCH 20/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:21 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:21 ` [bug#56663] [PATCH 22/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:21 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0021-gnu-rust-snafu-derive-0.7-New-package.patch --]
[-- Type: text/x-patch; name=0021-gnu-rust-snafu-derive-0.7-New-package.patch, Size: 2679 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 22/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (20 preceding siblings ...)
  2022-07-20 12:21 ` [bug#56663] [PATCH 21/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:21 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:22 ` [bug#56663] [PATCH 23/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:22 ` [bug#56663] [PATCH 24/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:21 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0022-gnu-rust-snafu-0.7-New-package.patch --]
[-- Type: text/x-patch; name=0022-gnu-rust-snafu-0.7-New-package.patch, Size: 2954 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 23/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (21 preceding siblings ...)
  2022-07-20 12:21 ` [bug#56663] [PATCH 22/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:22 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-20 12:22 ` [bug#56663] [PATCH 24/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
  23 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:22 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0023-gnu-rust-lexiclean-0.0.1-New-package.patch --]
[-- Type: text/x-patch; name=0023-gnu-rust-lexiclean-0.0.1-New-package.patch, Size: 1396 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 24/24]: gnu: just: New package.
  2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
                   ` (22 preceding siblings ...)
  2022-07-20 12:22 ` [bug#56663] [PATCH 23/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-20 12:22 ` Jean Pierre De Jesus DIAZ via Guix-patches via
  2022-07-21 14:37   ` Maxime Devos
  23 siblings, 1 reply; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-20 12:22 UTC (permalink / raw)
  To: 56663@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0024-gnu-just-New-package.patch --]
[-- Type: text/x-patch; name=0024-gnu-just-New-package.patch, Size: 5487 bytes --]

From 3d3f6255beada8cb6b0e78cd43657de9367ba687 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Sun, 17 Jul 2022 22:50:12 +0200
Subject: [PATCH 24/24] gnu: just: New package.

* gnu/packages/rust-apps.scm (just): New variable.
---
 gnu/packages/rust-apps.scm | 100 +++++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 0d5034ffb7..91ec6908e8 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -612,6 +613,105 @@ (define-public hyperfine
      "This package provides a command-line benchmarking tool.")
     (license (list license:expat license:asl2.0))))
 
+(define-public just
+  (package
+    (name "just")
+    (version "1.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "just" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1x762kq9mdp86fbnymn77mvdabcyvp211bkbvawnzm8fspp8a3g2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--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")
+       #:install-source? #f
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-atty" ,rust-atty-0.2)
+        ("rust-camino" ,rust-camino-1)
+        ("rust-clap" ,rust-clap-2)
+        ("rust-ctrlc" ,rust-ctrlc-3)
+        ("rust-derivative" ,rust-derivative-2)
+        ("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-edit-distance" ,rust-edit-distance-2)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-lexiclean" ,rust-lexiclean-0.0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-sha2" ,rust-sha2-0.10)
+        ("rust-similar" ,rust-similar-2)
+        ("rust-snafu" ,rust-snafu-0.7)
+        ("rust-strum" ,rust-strum-0.24)
+        ("rust-target" ,rust-target-2)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-typed-arena" ,rust-typed-arena-2)
+        ("rust-unicode-width" ,rust-unicode-width-0.1)
+        ("rust-uuid" ,rust-uuid-1))
+       #:cargo-development-inputs
+       (("rust-cradle" ,rust-cradle-0.2)
+        ("rust-executable-path" ,rust-executable-path-1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-temptree" ,rust-temptree-0.2)
+        ("rust-which" ,rust-which-4)
+        ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-extra
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out   (assoc-ref outputs "out"))
+                    (share (string-append out "/share"))
+                    (man1  (string-append share "/man/man1"))
+                    (bash  (string-append out "/etc/bash_completions.d"))
+                    (fish  (string-append share "/fish/vendor_completions.d"))
+                    (zsh   (string-append share "/zsh/site-functions")))
+               (install-file "man/just.1" man1)
+               (mkdir-p bash)
+               (mkdir-p zsh)
+               (mkdir-p fish)
+               (copy-file "completions/just.bash" (string-append bash "/just"))
+               (copy-file "completions/just.zsh" (string-append zsh "/_just"))
+               (copy-file "completions/just.fish"
+                          (string-append fish "/just.fish"))))))))
+    (home-page "https://just.systems/")
+    (synopsis "Command runner")
+    (description "Just is a command runner.
+
+It provides a handy way to save and run project-specific commands.
+
+Commands, called recipes, are stored in a file called @code{justfile} with
+syntax inspired by @code{make}.")
+    (license license:cc0)))
+
 (define-public i3status-rust
   (package
     (name "i3status-rust")
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 24/24]: gnu: just: New package.
  2022-07-20 12:22 ` [bug#56663] [PATCH 24/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
@ 2022-07-21 14:37   ` Maxime Devos
  2022-07-21 15:35     ` Jean Pierre De Jesus DIAZ via Guix-patches via
  0 siblings, 1 reply; 27+ messages in thread
From: Maxime Devos @ 2022-07-21 14:37 UTC (permalink / raw)
  To: Jean Pierre De Jesus DIAZ, 56663@debbugs.gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 6256 bytes --]


On 20-07-2022 14:22, Jean Pierre De Jesus DIAZ via Guix-patches via wrote:
> Empty Message

https://github.com/casey/temptree

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:

> +         "--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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [bug#56663] [PATCH 24/24]: gnu: just: New package.
  2022-07-21 14:37   ` Maxime Devos
@ 2022-07-21 15:35     ` Jean Pierre De Jesus DIAZ via Guix-patches via
  0 siblings, 0 replies; 27+ messages in thread
From: Jean Pierre De Jesus DIAZ via Guix-patches via @ 2022-07-21 15:35 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 56663@debbugs.gnu.org

>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).

>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.

>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.


>+                `(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 '?

>[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




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2022-07-21 15:42 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 12:11 [bug#56663] [PATCH 0/24]: gnu: just: New package Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:13 ` [bug#56663] [PATCH 1/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:13 ` [bug#56663] [PATCH 2/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:14 ` [bug#56663] [PATCH 3/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:14 ` [bug#56663] [PATCH 4/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:15 ` [bug#56663] [PATCH 5/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:15 ` [bug#56663] [PATCH 6/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:16 ` [bug#56663] [PATCH 7/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:16 ` [bug#56663] [PATCH 8/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:16 ` [bug#56663] [PATCH 9/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:17 ` [bug#56663] [PATCH 10/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:17 ` [bug#56663] [PATCH 11/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:17 ` [bug#56663] [PATCH 12/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:18 ` [bug#56663] [PATCH 13/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:18 ` [bug#56663] [PATCH 14/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:19 ` [bug#56663] [PATCH 15/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:19 ` [bug#56663] [PATCH 16/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:19 ` [bug#56663] [PATCH 17/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:20 ` [bug#56663] [PATCH 18/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:20 ` [bug#56663] [PATCH 19/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:21 ` [bug#56663] [PATCH 20/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:21 ` [bug#56663] [PATCH 21/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:21 ` [bug#56663] [PATCH 22/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:22 ` [bug#56663] [PATCH 23/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-20 12:22 ` [bug#56663] [PATCH 24/24]: " Jean Pierre De Jesus DIAZ via Guix-patches via
2022-07-21 14:37   ` Maxime Devos
2022-07-21 15:35     ` Jean Pierre De Jesus DIAZ via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).