forked from mirrors/nixpkgs
pantheon.switchboard-plug-sound: 2.2.5 -> 2.2.7
This commit is contained in:
parent
e1d417e254
commit
c46f522460
|
@ -1,5 +1,6 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, pantheon
|
||||
, meson
|
||||
|
@ -10,22 +11,30 @@
|
|||
, granite
|
||||
, gtk3
|
||||
, pulseaudio
|
||||
, libcanberra
|
||||
, libcanberra-gtk3
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-sound";
|
||||
version = "2.2.5";
|
||||
version = "2.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
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 = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = "pantheon.${pname}";
|
||||
|
@ -42,7 +51,6 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
libcanberra
|
||||
libcanberra-gtk3
|
||||
libgee
|
||||
pulseaudio
|
||||
|
@ -52,7 +60,7 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
description = "Switchboard Sound Plug";
|
||||
homepage = "https://github.com/elementary/switchboard-plug-sound";
|
||||
license = licenses.lgpl2Plus;
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = pantheon.maintainers;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue