pantheon.switchboard-plug-notifications: fix do not disturb

This commit is contained in:
worldofpeace 2020-04-06 02:52:02 -04:00
parent db29696bf1
commit 30fef603fb

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pantheon , pantheon
, meson , meson
, ninja , ninja
@ -9,6 +10,7 @@
, granite , granite
, gtk3 , gtk3
, switchboard , switchboard
, elementary-notifications
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -22,6 +24,15 @@ stdenv.mkDerivation rec {
sha256 = "1ikq058svdan0whg4ks35m50apvbmzcz7h2wznxdbsimczzvj5sz"; sha256 = "1ikq058svdan0whg4ks35m50apvbmzcz7h2wznxdbsimczzvj5sz";
}; };
patches = [
# Fix do not disturb on NixOS
# https://github.com/elementary/switchboard-plug-notifications/pull/66
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-notifications/commit/c306366b39c3199f0b64eda73419005fcb5e29b8.patch";
sha256 = "0m018rfw5iv582sw6qgwc8lzn0j32ix1w47fvlfmx0kw04irl2x3";
})
];
passthru = { passthru = {
updateScript = pantheon.updateScript { updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}"; attrPath = "pantheon.${pname}";
@ -36,6 +47,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
elementary-notifications
granite granite
gtk3 gtk3
libgee libgee