summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-03 12:01:29 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-03 12:39:27 -0500
commit2719dfa6319f0fc8a4225a3d98b45a51e32f5200 (patch)
tree92897f3d9946c5f27090b7bfbae7a089d2a70e51
parent6af08a53f5c7afd1eb217537375cef193351162d (diff)
downloadguix-2719dfa6319f0fc8a4225a3d98b45a51e32f5200.tar.gz
gnu: rust-system-deps-3: Fix and build package.
* gnu/packages/crates-io.scm (rust-system-deps-3)[tests?]: Set to #f.
[skip-build?]: Remove argument.
[cargo-development-inputs]: Add rust-assert-matches-1, rust-itertools-0.10
and rust-lazy-static-1.
[description]: Re-indent.
[license]: Add missing field.
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 11 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bdbdf7b3af..93878e5a97 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
@@ -54429,7 +54429,7 @@ processors, disks, components and networks.")
         (base32 "19ig3hxgyq9d7qy8cwpl74l75ay2w0y0a4rginqb68h7hygjc328"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f                      ;source is missing some test files
        #:cargo-inputs
        (("rust-anyhow" ,rust-anyhow-1)
         ("rust-cfg-expr" ,rust-cfg-expr-0.8)
@@ -54440,13 +54440,17 @@ processors, disks, components and networks.")
         ("rust-strum-macros" ,rust-strum-macros-0.21)
         ("rust-thiserror" ,rust-thiserror-1)
         ("rust-toml" ,rust-toml-0.5)
-        ("rust-version-compare" ,rust-version-compare-0.0))))
+        ("rust-version-compare" ,rust-version-compare-0.0))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-lazy-static" ,rust-lazy-static-1))))
     (home-page "https://github.com/gdesmott/system-deps")
     (synopsis "Define system dependencies in @file{Cargo.toml}")
-    (description
-     "This crate lets you write system dependencies in @file{Cargo.toml}
-metadata, rather than programmatically in @file{build.rs}.  This makes those
-dependencies declarative, so other tools can read them as well.")
+    (description "This crate lets you write system dependencies in
+@file{Cargo.toml} metadata, rather than programmatically in @file{build.rs}.
+This makes those dependencies declarative, so other tools can read them as
+well.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-system-deps-1