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

This commit is contained in:
Bobby Rong 2021-07-16 23:10:38 +08:00
parent 627c9fc86d
commit b7a302ef48
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pantheon
, meson
@ -15,15 +16,24 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";
version = "2.3.2";
version = "2.3.6";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-avu9Hya3C9g8kGl3D9bLwuZBkNPdwyvLspuBWgvpXU8=";
sha256 = "0n9fhi9g0ww341bjk6lpc5ppnl7qj9b3d63j9a7iqnap57bgks9y";
};
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";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";