From 940e79fc18e25d5a47afab82bd50bb261ae99fef Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 21 Dec 2024 13:10:41 +0100 Subject: [PATCH] gnu: Add rust-clang-sys@1.8.1. * gnu/packages/crates-io.scm (rust-clang-sys-1.8): New variable. Change-Id: Ie02419a94635fd7f2d44cd7231fcb8a6a33713fd --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 401051bc5a..1587abe3bb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13601,6 +13601,28 @@ (define-public rust-clang-sys-1 (description "This package provides Rust bindings for libclang.") (license license:asl2.0))) +(define-public rust-clang-sys-1.8 + (package + (name "rust-clang-sys") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clang-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x1r9yqss76z8xwpdanw313ss6fniwc1r7dzb5ycjn0ph53kj0hb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-glob" ,rust-glob-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.8)))) + (home-page "https://github.com/KyleMayes/clang-sys") + (synopsis "Rust bindings for libclang") + (description "This package provides Rust bindings for libclang.") + (license license:asl2.0))) + (define-public rust-clang-sys-0.23 (package (inherit rust-clang-sys-1)