depot/pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

58 lines
985 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, pkg-config
, vala
, libadwaita
, libgee
, granite7
, gtk4
, bluez
, switchboard
, wingpanel-indicator-bluetooth
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";
version = "8.0.1";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-NefWnkI7K6I1JY3UG9wUbB/yF3R8tUdPb4tAafiTR3o=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
];
buildInputs = [
bluez
granite7
gtk4
libadwaita
libgee
switchboard
wingpanel-indicator-bluetooth # settings schema
];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Switchboard Bluetooth Plug";
homepage = "https://github.com/elementary/switchboard-plug-bluetooth";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}