summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-17 19:41:43 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-17 19:48:29 +0200
commiteb614420f6f550f738f076dfca17946f6341042a (patch)
treeab33d56a2f347f3cb54083eefa497e57f4848dc5 /gnu
parentdf78a83a70c74a5703eaabe1dcd9f73f4e64d6e2 (diff)
downloadguix-eb614420f6f550f738f076dfca17946f6341042a.tar.gz
gnu: rust-cfg-expr-0.8: Combine the two definitions.
* gnu/packages/crates-io.scm (rust-cfg-expr-0.8): Remove duplicate
package definition.
[arguments]: Don't skip tests. Add rust-difference-2 to
cargo-development-inputs.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 4 insertions, 27 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cd13ea8c8..ffee43e716 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9048,10 +9048,11 @@ winded @code{#[cfg()]} checks.")
         (base32 "03lgv8psc2qrr93hxgdfmfwbj1crpzghxd7qh6w2nz0l4qryh4ml"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-smallvec" ,rust-smallvec-1)
-        ("rust-target-lexicon" ,rust-target-lexicon-0.12))))
+        ("rust-target-lexicon" ,rust-target-lexicon-0.12))
+       #:cargo-development-inputs
+       (("rust-difference" ,rust-difference-2))))
     (home-page "https://github.com/EmbarkStudios/cfg-expr")
     (synopsis "Parser and evaluator for Rust @code{cfg()} expressions")
     (description
@@ -54766,30 +54767,6 @@ processors, disks, components and networks.")
     (description "Send log messages to syslog.")
     (license license:expat)))
 
-(define-public rust-cfg-expr-0.8
-  (package
-    (name "rust-cfg-expr")
-    (version "0.8.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "cfg-expr" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "03lgv8psc2qrr93hxgdfmfwbj1crpzghxd7qh6w2nz0l4qryh4ml"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-smallvec" ,rust-smallvec-1)
-        ("rust-target-lexicon" ,rust-target-lexicon-0.12))
-       #:cargo-development-inputs
-       (("rust-difference" ,rust-difference-2))))
-    (home-page "https://github.com/EmbarkStudios/cfg-expr")
-    (synopsis "Parser and evaluator for Rust @samp{cfg} expressions")
-    (description "This package provides a parser and evaluator for Rust
-@samp{cfg} expressions.")
-    (license (list license:expat license:asl2.0))))
-
 (define-public rust-system-deps-3
   (package
     (name "rust-system-deps")