guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: rust-structopt-0.3: Update to 0.3.26.


From: guix-commits
Subject: 02/03: gnu: rust-structopt-0.3: Update to 0.3.26.
Date: Wed, 15 Feb 2023 06:08:07 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 06d45a82397fb19479b4cdde0372afb541d579c1
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Sun Apr 24 01:27:08 2022 +0200

    gnu: rust-structopt-0.3: Update to 0.3.26.
    
    * gnu/packages/crates-io.scm (rust-structopt): Update to 0.3.26.
      [arguments]: Add rust-paw-1 to cargo-inputs. Add cargo development inputs.
      Add phases to fix rust-clap-2 version and remove lints feature.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 121e94082c..e615a51b01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56202,7 +56202,7 @@ and Jaro-Winkler.")
 (define-public rust-structopt-0.3
   (package
     (name "rust-structopt")
-    (version "0.3.21")
+    (version "0.3.26")
     (source
      (origin
        (method url-fetch)
@@ -56211,14 +56211,27 @@ and Jaro-Winkler.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "136j0lvjmpv5syi751vxg8vb30gfyv4k81x8d18kxrj6xvbsqxsj"))))
+         "043sg3qxllann6q9i71d05qp3q13scmcvhxhd950ka2v8ij5qsqc"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-structopt-derive" ,rust-structopt-derive-0.4)
         ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-clap" ,rust-clap-2))))
+        ("rust-paw" ,rust-paw-1)
+        ("rust-clap" ,rust-clap-2))
+       #:cargo-development-inputs
+       (("rust-strum" ,rust-strum-0.21)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-rustversion" ,rust-rustversion-1))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'fixup-cargo-toml
+           (lambda _
+             (substitute* "Cargo.toml"
+               ;; feature does not exist
+               (("lints.*") "")
+               (("2.33") ,(package-version rust-clap-2))))))))
     (home-page "https://github.com/TeXitoi/structopt";)
     (synopsis "Parse command line argument by defining a struct")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]