20 rustPlatform.buildRustPackage rec {
24 src = fetchFromGitHub {
28 hash = "sha256-DL2hYm1j27K0nnBvE3iGnguqm0m1k56bkuG+6+u4u4c=";
48 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 darwin.apple_sdk.frameworks.AppKit
50 darwin.apple_sdk.frameworks.CoreBluetooth
51 darwin.apple_sdk.frameworks.CoreGraphics
52 darwin.apple_sdk.frameworks.Foundation
55 cargoHash = "sha256-YBJd43xOCumQbrvzfV/+F63McYzHg1bGI3icgGzGZrQ=";
57 INSTALL_PREFIX = placeholder "out";
63 cargo make --profile release build
67 cargo make --profile release install
71 description = "Cross platform application for controlling settings of Soundcore headphones";
72 homepage = "https://github.com/Oppzippy/OpenSCQ30";
73 changelog = "https://github.com/Oppzippy/OpenSCQ30/blob/${src.rev}/CHANGELOG.md";
74 license = licenses.gpl3Only;
75 maintainers = with maintainers; [ mkg20001 ];
76 mainProgram = "open-scq30";