From 1b5b51a56b49e73580e8bf8b625872bb4c3f34d5 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:26 +0100 Subject: [PATCH 08/29] gnu: Add rust-system-deps-5. * gnu/packages/crates-gtk.scm (rust-system-deps-5): New variable. --- gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 5a2a75121e..6a05257c89 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1070,6 +1070,34 @@ (define-public rust-cfg-expr-0.9 "This package provides a parser and evaluator for Rust `cfg()` expressions.") (license (list license:expat license:asl2.0)))) +(define-public rust-system-deps-5 + (package + (name "rust-system-deps") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-deps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zkrf58z96y3f5ggglqirc97iy9rvyippkq67vkx0yyvaiaqbnqq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cfg-expr" ,rust-cfg-expr-0.9) + ("rust-heck" ,rust-heck-0.3) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-toml" ,rust-toml-0.5) + ("rust-version-compare" ,rust-version-compare-0.0)))) + (home-page "https://github.com/gdesmott/system-deps") + (synopsis + "Discover and configure system dependencies from declarative dependencies in Cargo.toml") + (description + "Discover and configure system dependencies from declarative dependencies in Cargo.toml") + (license (list license:expat license:asl2.0)))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0