pantheon.switchboard-plug-bluetooth: 2.3.6 -> 8.0.0

https://github.com/elementary/switchboard-plug-bluetooth/compare/2.3.6...8.0.0
This commit is contained in:
Bobby Rong 2024-05-16 22:38:09 +08:00
parent 244192dee3
commit b65cfc99d9
No known key found for this signature in database

View File

@ -1,15 +1,15 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
, pkg-config
, vala
, libadwaita
, libgee
, granite
, gtk3
, granite7
, gtk4
, bluez
, switchboard
, wingpanel-indicator-bluetooth
@ -17,24 +17,15 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";
version = "2.3.6";
version = "8.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0n9fhi9g0ww341bjk6lpc5ppnl7qj9b3d63j9a7iqnap57bgks9y";
sha256 = "sha256-A55VCyQi+LBe3hxKp/xsVtXyPHuLPaCOi78Zv6MiwIw=";
};
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-bluetooth/pull/182
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-bluetooth/commit/031dd5660b4bcb0bb4e82ebe6d8bcdaa1791c385.patch";
sha256 = "1g01ad6md7pqp1fx00avbra8yfnr8ipg8y6zhfg35fgjakj4aags";
})
];
nativeBuildInputs = [
meson
ninja
@ -44,8 +35,9 @@ stdenv.mkDerivation rec {
buildInputs = [
bluez
granite
gtk3
granite7
gtk4
libadwaita
libgee
switchboard
wingpanel-indicator-bluetooth # settings schema