pantheon.switchboard-plug-sound: 2.2.5 -> 2.2.7

This commit is contained in:
Bobby Rong 2021-07-17 18:42:40 +08:00
parent e1d417e254
commit c46f522460
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,5 +1,6 @@
{ lib, stdenv { lib, stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, pantheon , pantheon
, meson , meson
@ -10,22 +11,30 @@
, granite , granite
, gtk3 , gtk3
, pulseaudio , pulseaudio
, libcanberra
, libcanberra-gtk3 , libcanberra-gtk3
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-sound"; pname = "switchboard-plug-sound";
version = "2.2.5"; version = "2.2.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ITgxLZSB4zhSaFKX7Vbf89DGI8ibIcGEQTtLjcGN2tA="; sha256 = "0yjqws7ryfid9lcafgzzbfnjjwccsankscwdwqfw486qid85whzc";
}; };
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-sound/pull/203
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-sound/commit/1f3b9f001ace4c457ab194158dff04ba5e25d278.patch";
sha256 = "1lmf2bbif2wkfv500nxbqxp8jdmnjg8yk8xhx3g2g55d15rc5hk4";
})
];
passthru = { passthru = {
updateScript = nix-update-script { updateScript = nix-update-script {
attrPath = "pantheon.${pname}"; attrPath = "pantheon.${pname}";
@ -42,7 +51,6 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
granite granite
gtk3 gtk3
libcanberra
libcanberra-gtk3 libcanberra-gtk3
libgee libgee
pulseaudio pulseaudio
@ -52,7 +60,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Switchboard Sound Plug"; description = "Switchboard Sound Plug";
homepage = "https://github.com/elementary/switchboard-plug-sound"; homepage = "https://github.com/elementary/switchboard-plug-sound";
license = licenses.lgpl2Plus; license = licenses.lgpl21Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = pantheon.maintainers; maintainers = pantheon.maintainers;
}; };