From 7d4c882abe1080b7bab622ac5c74749d67e0f903 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:48:33 +0100 Subject: [PATCH 23/29] gnu: Add rust-cfg-expr-0.8. * gnu/packages/crates-gtk.scm (rust-cfg-expr-0.8): 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 9c5b6ff10e..b33b209020 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1463,6 +1463,30 @@ (define-public rust-target-lexicon-0.12 (description "Targeting utilities for compilers and related tools") (license (list license:asl2.0)))) +(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 + `(#: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