{ lib, stdenv , fetchFromGitHub , nix-update-script , pantheon , meson , ninja , pkg-config , vala , libgee , granite , gtk3 , bluez , switchboard }: stdenv.mkDerivation rec { pname = "switchboard-plug-bluetooth"; version = "2.3.2"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; sha256 = "sha256-avu9Hya3C9g8kGl3D9bLwuZBkNPdwyvLspuBWgvpXU8="; }; passthru = { updateScript = nix-update-script { attrPath = "pantheon.${pname}"; }; }; nativeBuildInputs = [ meson ninja pkg-config vala ]; buildInputs = [ bluez granite gtk3 libgee switchboard ]; meta = with lib; { description = "Switchboard Bluetooth Plug"; homepage = "https://github.com/elementary/switchboard-plug-bluetooth"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = pantheon.maintainers; }; }