summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 15:06:50 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 15:06:50 +0100
commite9eac58a58c63d40caa39a0b0ca32e5fcb1de6b6 (patch)
tree49f4159c628a865ff770a14ef4ea6c08d18fb550 /gnu
parent0962bb501e872b11d7108012a1216adcad803bdd (diff)
gnu: Add rust-system-deps-1.
* gnu/packages/crates-io.scm (rust-system-deps-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bf04d11e4..74496d99a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28580,6 +28580,36 @@ syntax extension expansion.")
(description "Send log messages to syslog.")
(license license:expat)))
+(define-public rust-system-deps-1
+ (package
+ (name "rust-system-deps")
+ (version "1.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "system-deps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-heck" ,rust-heck-0.3)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-strum" ,rust-strum-0.18)
+ ("rust-strum-macros" ,rust-strum-macros-0.18)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-version-compare" ,rust-version-compare-0.0))))
+ (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.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-take-mut-0.2
(package
(name "rust-take-mut")