guix-commits
[Top][All Lists]
Advanced

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

245/276: gnu: rust-structopt-0.2: Don't rely on deprecated features.


From: guix-commits
Subject: 245/276: gnu: rust-structopt-0.2: Don't rely on deprecated features.
Date: Wed, 18 Oct 2023 04:50:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 89a770470e644653b809aa4f010a893cfc81faf8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 9 15:40:11 2023 +0300

    gnu: rust-structopt-0.2: Don't rely on deprecated features.
    
    * gnu/packages/crates-io.scm (rust-structopt-0.2)[source]: Add snippet
    to remove 'lints' feature from dependencies.
---
 gnu/packages/crates-io.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 871fd2e90a..d739a20c8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67582,7 +67582,11 @@ struct.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn"))))
+          "1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn"))
+        (snippet
+         #~(begin (use-modules (guix build utils))
+                  (substitute* "Cargo.toml"
+                    ((".*lints.*") ""))))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f



reply via email to

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