neothesia: use rustPlatform.bindgenHook

This commit is contained in:
Nick Cao 2024-11-30 08:39:49 -05:00
parent 0ff027e0ae
commit b20782310e
No known key found for this signature in database

View File

@ -35,6 +35,7 @@ rustPlatform.buildRustPackage {
pkg-config pkg-config
llvmPackages.clang llvmPackages.clang
makeWrapper makeWrapper
rustPlatform.bindgenHook
]; ];
cargoLock = { cargoLock = {
@ -54,10 +55,6 @@ rustPlatform.buildRustPackage {
install -Dm 644 flatpak/com.github.polymeilex.neothesia.png $out/share/icons/hicolor/256x256/apps/com.github.polymeilex.neothesia.png install -Dm 644 flatpak/com.github.polymeilex.neothesia.png $out/share/icons/hicolor/256x256/apps/com.github.polymeilex.neothesia.png
''; '';
env = {
LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
};
meta = { meta = {
description = "Flashy Synthesia Like Software For Linux, Windows and macOS"; description = "Flashy Synthesia Like Software For Linux, Windows and macOS";
homepage = "https://github.com/PolyMeilex/Neothesia"; homepage = "https://github.com/PolyMeilex/Neothesia";