gnu: rust-clang-sys: Fix package references.

* gnu/packages/crates-io.scm (rust-clang-sys-1)[inputs]: Rename clang to
libclang.
[arguments]: Adjust package reference accordingly.
This commit is contained in:
Efraim Flashner 2020-10-12 13:22:04 +03:00
parent 8bcfd15c2a
commit 51d3696480
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3599,7 +3599,7 @@ (define-public rust-clang-sys-1
"0695kfrqx7n091fzm6msbqg2q2kyhka64q08lm63f3l9d964i8cx"))))
(build-system cargo-build-system)
(inputs
`(("clang" ,clang)))
`(("libclang" ,clang)))
(arguments
`(#:cargo-inputs
(("rust-glob" ,rust-glob-0.3)
@ -3609,8 +3609,9 @@ (define-public rust-clang-sys-1
(modify-phases %standard-phases
(add-before 'configure 'configure-clang
(lambda* (#:key inputs #:allow-other-keys)
(setenv "LIBCLANG_PATH" (string-append (assoc-ref inputs "clang")
"/lib"))
(setenv "LIBCLANG_PATH"
(string-append (assoc-ref inputs "libclang")
"/lib"))
#t)))))
(home-page "https://github.com/KyleMayes/clang-sys")
(synopsis "Rust bindings for libclang")
@ -3643,8 +3644,6 @@ (define-public rust-clang-sys-0.29
(let ((clang (assoc-ref inputs "libclang")))
(setenv "LIBCLANG_PATH"
(string-append clang "/lib")))
(inputs
`(("libclang" ,clang)))
#t)))))))
(define-public rust-clang-sys-0.28