9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitHub {
16 rev = "v${finalAttrs.version}";
17 hash = "sha256-x2khx8Y0PolpMiyrBatT2aHHyacrQVU/02Z4Dz9fBtI=";
20 env.NIX_CFLAGS_COMPILE = "-Wall -Wextra -Werror -mmacosx-version-min=10.9 -framework Foundation -framework IOBluetooth";
26 install -m 755 blueutil $out/bin/blueutil
32 tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
33 updateScript = nix-update-script { };
37 changelog = "https://github.com/toy/blueutil/blob/main/CHANGELOG.md";
38 description = "CLI for bluetooth on OSX";
39 homepage = "https://github.com/toy/blueutil";
40 license = lib.licenses.mit;
41 mainProgram = "blueutil";
42 maintainers = with lib.maintainers; [ azuwis ];
43 platforms = lib.platforms.darwin;