From 88fc015695e2bf9427ee699e76f3bfefa8be77e2 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:16 +0100 Subject: [PATCH 07/29] gnu: Add rust-cfg-expr-0.9. * gnu/packages/crates-gtk.scm (rust-cfg-expr-0.9): New variable. --- gnu/packages/crates-gtk.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 8c2bf3ba15..5a2a75121e 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1046,6 +1046,30 @@ (define-public rust-pango-0.14 (description "Rust bindings for the Pango library") (license license:expat))) +(define-public rust-cfg-expr-0.9 + (package + (name "rust-cfg-expr") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cfg-expr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wbmpnf6mwda8iz4370sxilq9gxiv621gdv4glpy7z6i4nb0pbpd")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-smallvec" ,rust-smallvec-1) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))) + (home-page "https://github.com/EmbarkStudios/cfg-expr") + (synopsis "A parser and evaluator for Rust `cfg()` expressions.") + (description + "This package provides a parser and evaluator for Rust `cfg()` expressions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0