19 rustPlatform.buildRustPackage rec {
23 src = fetchFromGitHub {
27 hash = "sha256-DL2hYm1j27K0nnBvE3iGnguqm0m1k56bkuG+6+u4u4c=";
45 ] ++ lib.optionals stdenv.isDarwin [
46 darwin.apple_sdk.frameworks.AppKit
47 darwin.apple_sdk.frameworks.CoreBluetooth
48 darwin.apple_sdk.frameworks.CoreGraphics
49 darwin.apple_sdk.frameworks.Foundation
52 cargoHash = "sha256-YBJd43xOCumQbrvzfV/+F63McYzHg1bGI3icgGzGZrQ=";
54 INSTALL_PREFIX = placeholder "out";
60 cargo make --profile release build
64 cargo make --profile release install
68 description = "Cross platform application for controlling settings of Soundcore headphones";
69 homepage = "https://github.com/Oppzippy/OpenSCQ30";
70 changelog = "https://github.com/Oppzippy/OpenSCQ30/blob/${src.rev}/CHANGELOG.md";
71 license = licenses.gpl3Only;
72 maintainers = with maintainers; [ mkg20001 ];
73 mainProgram = "open-scq30";