7 stdenv.mkDerivation (finalAttrs: {
8 pname = "sensible-side-buttons-bin";
11 url = "https://github.com/archagon/sensible-side-buttons/releases/download/${finalAttrs.version}/SensibleSideButtons-${finalAttrs.version}.dmg";
12 hash = "sha256-Hys678R6wf+M4eg6892rgU3Xxua5dLc9zjaU7HQ1iBs=";
15 sourceRoot = "SensibleSideButtons.app";
17 nativeBuildInputs = [ undmg ];
22 mkdir -p "$out/Applications/SensibleSideButtons.app"
23 cp -R . "$out/Applications/SensibleSideButtons.app"
25 ln -s "$out/Applications/SensibleSideButtons.app/Contents/MacOS/SensibleSideButtons" "$out/bin/${finalAttrs.pname}"
31 description = "Utilize mouse side navigation buttons";
32 homepage = "https://sensible-side-buttons.archagon.net";
33 license = licenses.unfree;
34 maintainers = with maintainers; [ yamashitax ];
35 platforms = platforms.darwin;