git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #156646 from bobby285271/pantheon

Pantheon updates 2022-01-24

commit8021a4e39aea7e5ebbd19d086e0a750d07943c30 authorBobby Rong <rjl931189261@126.com> dateWed 26 Jan 2022, 10:46 (5 years ago) parent2e3f153f01e14c
43 files changed+381−300
pkgs/desktops/pantheon/apps/elementary-code/default.nix+6−6 pkgs/desktops/pantheon/apps/elementary-feedback/default.nix+7−9 pkgs/desktops/pantheon/apps/elementary-mail/default.nix+2−12 pkgs/desktops/pantheon/apps/elementary-music/default.nix+7−9 pkgs/desktops/pantheon/apps/elementary-photos/default.nix+1−3 pkgs/desktops/pantheon/apps/elementary-tasks/default.nix+2−2 pkgs/desktops/pantheon/apps/sideload/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix+12−12 pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix+11−11 pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix+11−11 pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard-plugs/wacom/default.nix+6−6 pkgs/desktops/pantheon/apps/switchboard/default.nix+6−6 pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix+1−3 pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix+1−3 pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix+1−3 pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix+1−3 pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix+37−25 pkgs/desktops/pantheon/desktop/elementary-greeter/revert-pr566.patch+103 pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix+14−16 pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix+7−9 pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix+2−4 pkgs/desktops/pantheon/desktop/wingpanel-indicators/a11y/default.nix+6−6 pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix+6−6 pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix+17−17 pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix+6−6 pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix+12−12 pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix+6−6 pkgs/desktops/pantheon/desktop/wingpanel/default.nix+4−4 pkgs/desktops/pantheon/services/contractor/default.nix+6−6 pkgs/desktops/pantheon/services/elementary-notifications/default.nix+1−3 pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix+1−3 pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix+6−6 pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix+6−6
pkgs/desktops/pantheon/apps/elementary-code/default.nix+6−6
@@ -48,12 +48,6 @@ stdenv.mkDerivation rec {
4848 })
4949 ];
5050
51− passthru = {
52− updateScript = nix-update-script {
53− attrPath = "pantheon.${pname}";
54− };
55− };
56−
5751 nativeBuildInputs = [
5852 appstream
5953 desktop-file-utils
@@ -95,6 +89,12 @@ stdenv.mkDerivation rec {
9589 patchShebangs meson/post_install.py
9690 '';
9791
92+ passthru = {
93+ updateScript = nix-update-script {
94+ attrPath = "pantheon.${pname}";
95+ };
96+ };
97+
9898 meta = with lib; {
9999 description = "Code editor designed for elementary OS";
100100 homepage = "https://github.com/elementary/code";
pkgs/desktops/pantheon/apps/elementary-feedback/default.nix+7−9
@@ -24,11 +24,9 @@ stdenv.mkDerivation rec {
2424 pname = "elementary-feedback";
2525 version = "6.1.0";
2626
27− repoName = "feedback";
28−
2927 src = fetchFromGitHub {
3028 owner = "elementary";
31− repo = repoName;
29+ repo = "feedback";
3230 rev = version;
3331 sha256 = "02wydbpa5qaa4xmmh4m7rbj4djbrn2i44zjakj5i6mzwjlj6sv5n";
3432 };
@@ -42,12 +40,6 @@ stdenv.mkDerivation rec {
4240 })
4341 ];
4442
45− passthru = {
46− updateScript = nix-update-script {
47− attrPath = "pantheon.${pname}";
48− };
49− };
50−
5143 nativeBuildInputs = [
5244 gettext
5345 meson
@@ -74,6 +66,12 @@ stdenv.mkDerivation rec {
7466 patchShebangs meson/post_install.py
7567 '';
7668
69+ passthru = {
70+ updateScript = nix-update-script {
71+ attrPath = "pantheon.${pname}";
72+ };
73+ };
74+
7775 meta = with lib; {
7876 description = "GitHub Issue Reporter designed for elementary OS";
7977 homepage = "https://github.com/elementary/feedback";
pkgs/desktops/pantheon/apps/elementary-mail/default.nix+2−12
@@ -1,7 +1,6 @@
11{ lib
22, stdenv
33, fetchFromGitHub
4−, fetchpatch
54, nix-update-script
65, pkg-config
76, meson
@@ -26,24 +25,15 @@
2625
2726stdenv.mkDerivation rec {
2827 pname = "elementary-mail";
29− version = "6.3.1";
28+ version = "6.4.0";
3029
3130 src = fetchFromGitHub {
3231 owner = "elementary";
3332 repo = "mail";
3433 rev = version;
35− sha256 = "sha256-wOu9jvvwG53vzcNa38nk4eREZWW7Cin8el4qApQ8gI8=";
34+ sha256 = "sha256-ooqVNMgeAqGlFcfachPPfhSiKTEEcNGv5oWdM7VLWOc=";
3635 };
3736
38− patches = [
39− # Fix build with meson 0.61
40− # https://github.com/elementary/mail/pull/751
41− (fetchpatch {
42− url = "https://github.com/elementary/mail/commit/bbadc56529276d8e0ff98e9df7d9bb1bf8fc5783.patch";
43− sha256 = "sha256-lJEnX5/G6e8PdKy1XGlwFIoCeSy6SR5p68tS4noj+44=";
44− })
45− ];
46−
4737 nativeBuildInputs = [
4838 appstream
4939 desktop-file-utils
pkgs/desktops/pantheon/apps/elementary-music/default.nix+7−9
@@ -34,11 +34,9 @@ stdenv.mkDerivation rec {
3434 pname = "elementary-music";
3535 version = "5.1.1";
3636
37− repoName = "music";
38−
3937 src = fetchFromGitHub {
4038 owner = "elementary";
41− repo = repoName;
39+ repo = "music";
4240 rev = version;
4341 sha256 = "1wqsn4ss9acg0scaqpg514ll2dj3bl71wly4mm79qkinhy30yv9n";
4442 };
@@ -58,12 +56,6 @@ stdenv.mkDerivation rec {
5856 })
5957 ];
6058
61− passthru = {
62− updateScript = nix-update-script {
63− attrPath = "pantheon.${pname}";
64− };
65− };
66−
6759 nativeBuildInputs = [
6860 desktop-file-utils
6961 meson
@@ -108,6 +100,12 @@ stdenv.mkDerivation rec {
108100 patchShebangs meson/post_install.py
109101 '';
110102
103+ passthru = {
104+ updateScript = nix-update-script {
105+ attrPath = "pantheon.${pname}";
106+ };
107+ };
108+
111109 meta = with lib; {
112110 description = "Music player and library designed for elementary OS";
113111 homepage = "https://github.com/elementary/music";
pkgs/desktops/pantheon/apps/elementary-photos/default.nix+1−3
@@ -36,11 +36,9 @@ stdenv.mkDerivation rec {
3636 pname = "elementary-photos";
3737 version = "2.7.3";
3838
39− repoName = "photos";
40−
4139 src = fetchFromGitHub {
4240 owner = "elementary";
43− repo = repoName;
41+ repo = "photos";
4442 rev = version;
4543 sha256 = "sha256-ja4ElW0FNm9oNyn+00SdI2Cxep6LyWTYM8Blc6bnuiY=";
4644 };
pkgs/desktops/pantheon/apps/elementary-tasks/default.nix+2−2
@@ -26,13 +26,13 @@
2626
2727stdenv.mkDerivation rec {
2828 pname = "elementary-tasks";
29− version = "6.1.0";
29+ version = "6.2.0";
3030
3131 src = fetchFromGitHub {
3232 owner = "elementary";
3333 repo = "tasks";
3434 rev = version;
35− sha256 = "sha256-Gt9Hp9m28QdAFnKIT1xcbiSM5cn6kW7wEXmi/iFfu8k=";
35+ sha256 = "sha256-eHaWXntLkk5G+cR5uFwWsIvbSPsbrvpglYBh91ta/M0=";
3636 };
3737
3838 nativeBuildInputs = [
pkgs/desktops/pantheon/apps/sideload/default.nix+6−6
@@ -32,12 +32,6 @@ stdenv.mkDerivation rec {
3232 sha256 = "0abpcawmmv5mgzk2i5n9rlairmjr2v9rg9b8c9g7xa085s496bi9";
3333 };
3434
35− passthru = {
36− updateScript = nix-update-script {
37− attrPath = "pantheon.${pname}";
38− };
39− };
40−
4135 nativeBuildInputs = [
4236 desktop-file-utils
4337 gettext
@@ -66,6 +60,12 @@ stdenv.mkDerivation rec {
6660 patchShebangs meson/post_install.py
6761 '';
6862
63+ passthru = {
64+ updateScript = nix-update-script {
65+ attrPath = "pantheon.${pname}";
66+ };
67+ };
68+
6969 meta = with lib; {
7070 homepage = "https://github.com/elementary/sideload";
7171 description = "Flatpak installer, designed for elementary OS";
pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix+6−6
@@ -40,12 +40,6 @@ stdenv.mkDerivation rec {
4040 })
4141 ];
4242
43− passthru = {
44− updateScript = nix-update-script {
45− attrPath = "pantheon.${pname}";
46− };
47− };
48−
4943 nativeBuildInputs = [
5044 meson
5145 ninja
@@ -61,6 +55,12 @@ stdenv.mkDerivation rec {
6155 wingpanel-indicator-a11y
6256 ];
6357
58+ passthru = {
59+ updateScript = nix-update-script {
60+ attrPath = "pantheon.${pname}";
61+ };
62+ };
63+
6464 meta = with lib; {
6565 description = "Switchboard Universal Access Plug";
6666 homepage = "https://github.com/elementary/switchboard-plug-a11y";
pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix+12−12
@@ -29,11 +29,13 @@ stdenv.mkDerivation rec {
2929 sha256 = "0c075ac7iqz4hqbp2ph0cwyhiq0jn6c1g1jjfhygjbssv3vvd268";
3030 };
3131
32− passthru = {
33− updateScript = nix-update-script {
34− attrPath = "pantheon.${pname}";
35− };
36− };
32+ patches = [
33+ # Use NixOS's default wallpaper
34+ (substituteAll {
35+ src = ./fix-background-path.patch;
36+ default_wallpaper = "${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}";
37+ })
38+ ];
3739
3840 nativeBuildInputs = [
3941 meson
@@ -53,13 +55,11 @@ stdenv.mkDerivation rec {
5355 switchboard
5456 ];
5557
56− patches = [
57− # Use NixOS's default wallpaper
58− (substituteAll {
59− src = ./fix-background-path.patch;
60− default_wallpaper = "${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}";
61− })
62− ];
58+ passthru = {
59+ updateScript = nix-update-script {
60+ attrPath = "pantheon.${pname}";
61+ };
62+ };
6363
6464 meta = with lib; {
6565 description = "Switchboard About Plug";
pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix+6−6
@@ -24,12 +24,6 @@ stdenv.mkDerivation rec {
2424 sha256 = "18izmzhqp6x5ivha9yl8gyz9adyrsylw7w5p0cwm1bndgqbi7yh5";
2525 };
2626
27− passthru = {
28− updateScript = nix-update-script {
29− attrPath = "pantheon.${pname}";
30− };
31− };
32−
3327 nativeBuildInputs = [
3428 meson
3529 ninja
@@ -45,6 +39,12 @@ stdenv.mkDerivation rec {
4539 switchboard
4640 ];
4741
42+ passthru = {
43+ updateScript = nix-update-script {
44+ attrPath = "pantheon.${pname}";
45+ };
46+ };
47+
4848 meta = with lib; {
4949 description = "Switchboard Applications Plug";
5050 homepage = "https://github.com/elementary/switchboard-plug-applications";
pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix+6−6
@@ -35,12 +35,6 @@ stdenv.mkDerivation rec {
3535 })
3636 ];
3737
38− passthru = {
39− updateScript = nix-update-script {
40− attrPath = "pantheon.${pname}";
41− };
42− };
43−
4438 nativeBuildInputs = [
4539 meson
4640 ninja
@@ -57,6 +51,12 @@ stdenv.mkDerivation rec {
5751 wingpanel-indicator-bluetooth # settings schema
5852 ];
5953
54+ passthru = {
55+ updateScript = nix-update-script {
56+ attrPath = "pantheon.${pname}";
57+ };
58+ };
59+
6060 meta = with lib; {
6161 description = "Switchboard Bluetooth Plug";
6262 homepage = "https://github.com/elementary/switchboard-plug-bluetooth";
pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix+6−6
@@ -27,12 +27,6 @@ stdenv.mkDerivation rec {
2727 sha256 = "10rqhxsqbl1xnz5n84d7m39c3vb71k153989xvyc55djia1wjx96";
2828 };
2929
30− passthru = {
31− updateScript = nix-update-script {
32− attrPath = "pantheon.${pname}";
33− };
34− };
35−
3630 patches = [
3731 (substituteAll {
3832 src = ./fix-paths.patch;
@@ -61,6 +55,12 @@ stdenv.mkDerivation rec {
6155 switchboard
6256 ];
6357
58+ passthru = {
59+ updateScript = nix-update-script {
60+ attrPath = "pantheon.${pname}";
61+ };
62+ };
63+
6464 meta = with lib; {
6565 description = "Switchboard Date & Time Plug";
6666 homepage = "https://github.com/elementary/switchboard-plug-datetime";
pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix+6−6
@@ -24,12 +24,6 @@ stdenv.mkDerivation rec {
2424 sha256 = "sha256-3sYZCazGnTjIi3Iry5673TMI13sD0GuY+46AK+NJH70=";
2525 };
2626
27− passthru = {
28− updateScript = nix-update-script {
29− attrPath = "pantheon.${pname}";
30− };
31− };
32−
3327 nativeBuildInputs = [
3428 meson
3529 ninja
@@ -45,6 +39,12 @@ stdenv.mkDerivation rec {
4539 switchboard
4640 ];
4741
42+ passthru = {
43+ updateScript = nix-update-script {
44+ attrPath = "pantheon.${pname}";
45+ };
46+ };
47+
4848 meta = with lib; {
4949 description = "Switchboard Displays Plug";
5050 homepage = "https://github.com/elementary/switchboard-plug-display";
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix+6−6
@@ -40,12 +40,6 @@ stdenv.mkDerivation rec {
4040 })
4141 ];
4242
43− passthru = {
44− updateScript = nix-update-script {
45− attrPath = "pantheon.${pname}";
46− };
47− };
48−
4943 nativeBuildInputs = [
5044 libxml2
5145 meson
@@ -67,6 +61,12 @@ stdenv.mkDerivation rec {
6761 switchboard
6862 ];
6963
64+ passthru = {
65+ updateScript = nix-update-script {
66+ attrPath = "pantheon.${pname}";
67+ };
68+ };
69+
7070 meta = with lib; {
7171 description = "Switchboard Keyboard Plug";
7272 homepage = "https://github.com/elementary/switchboard-plug-keyboard";
pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix+11−11
@@ -29,11 +29,12 @@ stdenv.mkDerivation rec {
2929 sha256 = "0nqgbpk1knvbj5xa078i0ka6lzqmaaa873gwj3mhjr5q2gzkw7y5";
3030 };
3131
32− passthru = {
33− updateScript = nix-update-script {
34− attrPath = "pantheon.${pname}";
35− };
36− };
32+ patches = [
33+ (substituteAll {
34+ src = ./fix-paths.patch;
35+ touchegg = touchegg;
36+ })
37+ ];
3738
3839 nativeBuildInputs = [
3940 meson
@@ -54,12 +55,11 @@ stdenv.mkDerivation rec {
5455 touchegg
5556 ];
5657
57− patches = [
58− (substituteAll {
59− src = ./fix-paths.patch;
60− touchegg = touchegg;
61− })
62− ];
58+ passthru = {
59+ updateScript = nix-update-script {
60+ attrPath = "pantheon.${pname}";
61+ };
62+ };
6363
6464 meta = with lib; {
6565 description = "Switchboard Mouse & Touchpad Plug";
pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix+11−11
@@ -27,11 +27,12 @@ stdenv.mkDerivation rec {
2727 sha256 = "0nqihsbrpjw4nx1c50g854bqybniw38adi78vzg8nyl6ikj2r0z4";
2828 };
2929
30− passthru = {
31− updateScript = nix-update-script {
32− attrPath = "pantheon.${pname}";
33− };
34− };
30+ patches = [
31+ (substituteAll {
32+ src = ./fix-paths.patch;
33+ inherit networkmanagerapplet;
34+ })
35+ ];
3536
3637 nativeBuildInputs = [
3738 meson
@@ -49,12 +50,11 @@ stdenv.mkDerivation rec {
4950 switchboard
5051 ];
5152
52− patches = [
53− (substituteAll {
54− src = ./fix-paths.patch;
55− inherit networkmanagerapplet;
56− })
57− ];
53+ passthru = {
54+ updateScript = nix-update-script {
55+ attrPath = "pantheon.${pname}";
56+ };
57+ };
5858
5959 meta = with lib; {
6060 description = "Switchboard Networking Plug";
pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix+6−6
@@ -34,12 +34,6 @@ stdenv.mkDerivation rec {
3434 })
3535 ];
3636
37− passthru = {
38− updateScript = nix-update-script {
39− attrPath = "pantheon.${pname}";
40− };
41− };
42−
4337 nativeBuildInputs = [
4438 meson
4539 ninja
@@ -55,6 +49,12 @@ stdenv.mkDerivation rec {
5549 switchboard
5650 ];
5751
52+ passthru = {
53+ updateScript = nix-update-script {
54+ attrPath = "pantheon.${pname}";
55+ };
56+ };
57+
5858 meta = with lib; {
5959 description = "Switchboard Notifications Plug";
6060 homepage = "https://github.com/elementary/switchboard-plug-notifications";
pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix+6−6
@@ -28,12 +28,6 @@ stdenv.mkDerivation rec {
2828 sha256 = "006h8mrhmdrbd83vhdyahgrfk9wh6j9kjincpp7dz7sl8fsyhmcr";
2929 };
3030
31− passthru = {
32− updateScript = nix-update-script {
33− attrPath = "pantheon.${pname}";
34− };
35− };
36−
3731 nativeBuildInputs = [
3832 meson
3933 ninja
@@ -53,6 +47,12 @@ stdenv.mkDerivation rec {
5347 wingpanel-indicator-power # settings schema
5448 ];
5549
50+ passthru = {
51+ updateScript = nix-update-script {
52+ attrPath = "pantheon.${pname}";
53+ };
54+ };
55+
5656 meta = with lib; {
5757 description = "Switchboard Power Plug";
5858 homepage = "https://github.com/elementary/switchboard-plug-power";
pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix+6−6
@@ -34,12 +34,6 @@ stdenv.mkDerivation rec {
3434 })
3535 ];
3636
37− passthru = {
38− updateScript = nix-update-script {
39− attrPath = "pantheon.${pname}";
40− };
41− };
42−
4337 nativeBuildInputs = [
4438 meson
4539 ninja
@@ -55,6 +49,12 @@ stdenv.mkDerivation rec {
5549 switchboard
5650 ];
5751
52+ passthru = {
53+ updateScript = nix-update-script {
54+ attrPath = "pantheon.${pname}";
55+ };
56+ };
57+
5858 meta = with lib; {
5959 description = "Switchboard Printers Plug";
6060 homepage = "https://github.com/elementary/switchboard-plug-printers";
pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix+6−6
@@ -33,12 +33,6 @@ stdenv.mkDerivation rec {
3333 })
3434 ];
3535
36− passthru = {
37− updateScript = nix-update-script {
38− attrPath = "pantheon.${pname}";
39− };
40− };
41−
4236 nativeBuildInputs = [
4337 meson
4438 ninja
@@ -53,6 +47,12 @@ stdenv.mkDerivation rec {
5347 switchboard
5448 ];
5549
50+ passthru = {
51+ updateScript = nix-update-script {
52+ attrPath = "pantheon.${pname}";
53+ };
54+ };
55+
5656 meta = with lib; {
5757 description = "Switchboard Sharing Plug";
5858 homepage = "https://github.com/elementary/switchboard-plug-sharing";
pkgs/desktops/pantheon/apps/switchboard-plugs/wacom/default.nix+6−6
@@ -37,12 +37,6 @@ stdenv.mkDerivation rec {
3737 })
3838 ];
3939
40− passthru = {
41− updateScript = nix-update-script {
42− attrPath = "pantheon.${pname}";
43− };
44− };
45−
4640 nativeBuildInputs = [
4741 meson
4842 ninja
@@ -62,6 +56,12 @@ stdenv.mkDerivation rec {
6256 xorg.libXi
6357 ];
6458
59+ passthru = {
60+ updateScript = nix-update-script {
61+ attrPath = "pantheon.${pname}";
62+ };
63+ };
64+
6565 meta = with lib; {
6666 description = "Switchboard Wacom Plug";
6767 homepage = "https://github.com/elementary/switchboard-plug-wacom";
pkgs/desktops/pantheon/apps/switchboard/default.nix+6−6
@@ -28,12 +28,6 @@ stdenv.mkDerivation rec {
2828 sha256 = "02dfsrfmr297cxpyd5m3746ihcgjyfnb3d42ng9m4ljdvh0dxgim";
2929 };
3030
31− passthru = {
32− updateScript = nix-update-script {
33− attrPath = "pantheon.${pname}";
34− };
35− };
36−
3731 nativeBuildInputs = [
3832 gettext
3933 meson
@@ -73,6 +67,12 @@ stdenv.mkDerivation rec {
7367 patchShebangs meson/post_install.py
7468 '';
7569
70+ passthru = {
71+ updateScript = nix-update-script {
72+ attrPath = "pantheon.${pname}";
73+ };
74+ };
75+
7676 meta = with lib; {
7777 description = "Extensible System Settings app for Pantheon";
7878 homepage = "https://github.com/elementary/switchboard";
pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix+1−3
@@ -12,11 +12,9 @@ stdenv.mkDerivation rec {
1212 pname = "elementary-gtk-theme";
1313 version = "6.1.1";
1414
15− repoName = "stylesheet";
16−
1715 src = fetchFromGitHub {
1816 owner = "elementary";
19− repo = repoName;
17+ repo = "stylesheet";
2018 rev = version;
2119 sha256 = "sha256-gciBn5MQ5Cu+dROL5kCt2GCbNA7W4HOWXyjMBd4OP+8=";
2220 };
pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix+1−3
@@ -15,11 +15,9 @@ stdenv.mkDerivation rec {
1515 pname = "elementary-icon-theme";
1616 version = "6.1.0";
1717
18− repoName = "icons";
19−
2018 src = fetchFromGitHub {
2119 owner = "elementary";
22− repo = repoName;
20+ repo = "icons";
2321 rev = version;
2422 sha256 = "sha256-WR4HV0nJKj0WeSFHXLK64O0LhX8myAJE4w0aztyhPn4=";
2523 };
pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix+1−3
@@ -11,11 +11,9 @@ stdenv.mkDerivation rec {
1111 pname = "elementary-sound-theme";
1212 version = "1.1.0";
1313
14− repoName = "sound-theme";
15−
1614 src = fetchFromGitHub {
1715 owner = "elementary";
18− repo = repoName;
16+ repo = "sound-theme";
1917 rev = version;
2018 sha256 = "sha256-fR6gtKx9J6o2R1vQZ5yx4kEX3Ak+q8I6hRVMZzyB2E8=";
2119 };
pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix+1−3
@@ -17,11 +17,9 @@ stdenv.mkDerivation rec {
1717 pname = "elementary-default-settings";
1818 version = "6.0.2";
1919
20− repoName = "default-settings";
21−
2220 src = fetchFromGitHub {
2321 owner = "elementary";
24− repo = repoName;
22+ repo = "default-settings";
2523 rev = version;
2624 sha256 = "sha256-qaPj/Qp7RYzHgElFdM8bHV42oiPUbCMTC9Q+MUj4Q6Y=";
2725 };
pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix+37−25
@@ -40,16 +40,32 @@ stdenv.mkDerivation rec {
4040 sha256 = "1f606ds56sp1c58q8dblfpaq9pwwkqw9i4gkwksw45m2xkwlbflq";
4141 };
4242
43− passthru = {
44− updateScript = nix-update-script {
45− attrPath = "pantheon.${pname}";
46− };
47−
48− xgreeters = linkFarm "pantheon-greeter-xgreeters" [{
49− path = "${elementary-greeter}/share/xgreeters/io.elementary.greeter.desktop";
50− name = "io.elementary.greeter.desktop";
51− }];
52− };
43+ patches = [
44+ ./sysconfdir-install.patch
45+ # Needed until https://github.com/elementary/greeter/issues/360 is fixed
46+ (substituteAll {
47+ src = ./hardcode-fallback-background.patch;
48+ default_wallpaper = "${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}";
49+ })
50+ # Revert "UserCard: use accent color for logged_in check (#566)"
51+ # https://github.com/elementary/greeter/pull/566
52+ # Fixes crash issue reported in:
53+ # https://github.com/elementary/greeter/issues/578
54+ # https://github.com/NixOS/nixpkgs/issues/151609
55+ # Probably also fixes:
56+ # https://github.com/elementary/greeter/issues/568
57+ # https://github.com/elementary/greeter/issues/583
58+ # https://github.com/NixOS/nixpkgs/issues/140513
59+ # Revisit this when the greeter is ported to GTK 4:
60+ # https://github.com/elementary/greeter/pull/591
61+ ./revert-pr566.patch
62+ # Fix build with meson 0.61
63+ # https://github.com/elementary/greeter/pull/590
64+ (fetchpatch {
65+ url = "https://github.com/elementary/greeter/commit/a4b25244058fce794a9f13f6b22a8ff7735ebde9.patch";
66+ sha256 = "sha256-qPXhdvmYG8YMDU/CjbEkfZ0glgRzxnu0TsOPtvWHxLY=";
67+ })
68+ ];
5369
5470 nativeBuildInputs = [
5571 desktop-file-utils
@@ -84,21 +100,6 @@ stdenv.mkDerivation rec {
84100 "-Dgsd-dir=${gnome-settings-daemon}/libexec/" # trailing slash is needed
85101 ];
86102
87− patches = [
88− ./sysconfdir-install.patch
89− # Needed until https://github.com/elementary/greeter/issues/360 is fixed
90− (substituteAll {
91− src = ./hardcode-fallback-background.patch;
92− default_wallpaper = "${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}";
93− })
94− # Fix build with meson 0.61
95− # https://github.com/elementary/greeter/pull/590
96− (fetchpatch {
97− url = "https://github.com/elementary/greeter/commit/a4b25244058fce794a9f13f6b22a8ff7735ebde9.patch";
98− sha256 = "sha256-qPXhdvmYG8YMDU/CjbEkfZ0glgRzxnu0TsOPtvWHxLY=";
99− })
100− ];
101−
102103 preFixup = ''
103104 gappsWrapperArgs+=(
104105 # dbus-launch needed in path
@@ -125,6 +126,17 @@ stdenv.mkDerivation rec {
125126 --replace "Exec=io.elementary.greeter" "Exec=$out/bin/io.elementary.greeter"
126127 '';
127128
129+ passthru = {
130+ updateScript = nix-update-script {
131+ attrPath = "pantheon.${pname}";
132+ };
133+
134+ xgreeters = linkFarm "pantheon-greeter-xgreeters" [{
135+ path = "${elementary-greeter}/share/xgreeters/io.elementary.greeter.desktop";
136+ name = "io.elementary.greeter.desktop";
137+ }];
138+ };
139+
128140 meta = with lib; {
129141 description = "LightDM Greeter for Pantheon";
130142 homepage = "https://github.com/elementary/greeter";
pkgs/desktops/pantheon/desktop/elementary-greeter/revert-pr566.patchnew file+103
@@ -0,0 +1,103 @@
1+From 572a73cbc84dd9a0f5a7667a60c75ed5580d84a1 Mon Sep 17 00:00:00 2001
2+From: Bobby Rong <rjl931189261@126.com>
3+Date: Tue, 25 Jan 2022 10:03:31 +0800
4+Subject: [PATCH] Revert "UserCard: use accent color for logged_in check
5+ (#566)"
6+
7+This reverts commit 6f18c79c780582e43039032f6926816efa82e206.
8+---
9+ data/Check.css | 11 -----------
10+ data/greeter.gresource.xml | 1 -
11+ src/Cards/UserCard.vala | 29 +++--------------------------
12+ 3 files changed, 3 insertions(+), 38 deletions(-)
13+ delete mode 100644 data/Check.css
14+
15+diff --git a/data/Check.css b/data/Check.css
16+deleted file mode 100644
17+index 947db6b..0000000
18+--- a/data/Check.css
19++++ /dev/null
20+@@ -1,11 +0,0 @@
21+-check {
22+- background-color: @accent_color;
23+- border-radius: 99px;
24+- color: white;
25+- margin: 2px;
26+- min-height: 20px;
27+- min-width: 20px;
28+- -gtk-icon-shadow: 0 1px 1px shade(@accent_color, 0.7);
29+- -gtk-icon-source: -gtk-icontheme("check-active-symbolic");
30+- -gtk-icon-transform: scale(0.6);
31+-}
32+diff --git a/data/greeter.gresource.xml b/data/greeter.gresource.xml
33+index 604c89a..ce9be29 100644
34+--- a/data/greeter.gresource.xml
35++++ b/data/greeter.gresource.xml
36+@@ -2,7 +2,6 @@
37+ <gresources>
38+ <gresource prefix="/io/elementary/greeter">
39+ <file alias="Card.css" compressed="true">Card.css</file>
40+- <file alias="Check.css" compressed="true">Check.css</file>
41+ <file alias="DateTime.css" compressed="true">DateTime.css</file>
42+ <file alias="MainWindow.css" compressed="true">MainWindow.css</file>
43+ </gresource>
44+diff --git a/src/Cards/UserCard.vala b/src/Cards/UserCard.vala
45+index 83df22c..02d2b0a 100644
46+--- a/src/Cards/UserCard.vala
47++++ b/src/Cards/UserCard.vala
48+@@ -42,7 +42,6 @@ public class Greeter.UserCard : Greeter.BaseCard {
49+ private Gtk.Stack login_stack;
50+ private Greeter.PasswordEntry password_entry;
51+
52+- private unowned Gtk.StyleContext logged_in_context;
53+ private weak Gtk.StyleContext main_grid_style_context;
54+ private weak Gtk.StyleContext password_entry_context;
55+
56+@@ -214,14 +213,10 @@ public class Greeter.UserCard : Greeter.BaseCard {
57+ };
58+ avatar_overlay.add (avatar);
59+
60+- var logged_in = new SelectionCheck () {
61+- halign = Gtk.Align.END,
62+- valign = Gtk.Align.END
63+- };
64+-
65+- logged_in_context = logged_in.get_style_context ();
66+-
67+ if (lightdm_user.logged_in) {
68++ var logged_in = new Gtk.Image.from_icon_name ("selection-checked", Gtk.IconSize.LARGE_TOOLBAR);
69++ logged_in.halign = logged_in.valign = Gtk.Align.END;
70++
71+ avatar_overlay.add_overlay (logged_in);
72+
73+ session_button.sensitive = false;
74+@@ -304,7 +299,6 @@ public class Greeter.UserCard : Greeter.BaseCard {
75+ gtksettings.gtk_theme_name = "io.elementary.stylesheet." + accent_to_string (prefers_accent_color);
76+
77+ var style_provider = Gtk.CssProvider.get_named (gtksettings.gtk_theme_name, null);
78+- logged_in_context.add_provider (style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
79+ password_entry_context.add_provider (style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
80+ }
81+
82+@@ -451,21 +445,4 @@ public class Greeter.UserCard : Greeter.BaseCard {
83+ return GLib.Source.REMOVE;
84+ });
85+ }
86+-
87+- private class SelectionCheck : Gtk.Spinner {
88+- private static Gtk.CssProvider check_provider;
89+-
90+- class construct {
91+- set_css_name (Gtk.STYLE_CLASS_CHECK);
92+- }
93+-
94+- static construct {
95+- check_provider = new Gtk.CssProvider ();
96+- check_provider.load_from_resource ("/io/elementary/greeter/Check.css");
97+- }
98+-
99+- construct {
100+- get_style_context ().add_provider (check_provider, Gtk.STYLE_PROVIDER_PRIORITY_USER);
101+- }
102+- }
103+ }
pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix+14−16
@@ -26,15 +26,26 @@ stdenv.mkDerivation rec {
2626 pname = "elementary-onboarding";
2727 version = "6.1.0";
2828
29− repoName = "onboarding";
30−
3129 src = fetchFromGitHub {
3230 owner = "elementary";
33− repo = repoName;
31+ repo = "onboarding";
3432 rev = version;
3533 sha256 = "sha256-9voy9eje3VlV4IMM664EyjKWTfSVogX5JoRCqhsUXTE=";
3634 };
3735
36+ patches = [
37+ (substituteAll {
38+ src = ./fix-paths.patch;
39+ appcenter = appcenter;
40+ })
41+ # Provides the directory where the locales are actually installed
42+ # https://github.com/elementary/onboarding/pull/147
43+ (fetchpatch {
44+ url = "https://github.com/elementary/onboarding/commit/af19c3dbefd1c0e0ec18eddacc1f21cb991f5513.patch";
45+ sha256 = "sha256-fSFfjSd33W7rXXEUHY8b3rv9B9c31XfCjxjRxBBrqjs=";
46+ })
47+ ];
48+
3849 nativeBuildInputs = [
3950 gettext
4051 meson
@@ -56,19 +67,6 @@ stdenv.mkDerivation rec {
5667 libhandy
5768 ];
5869
59− patches = [
60− (substituteAll {
61− src = ./fix-paths.patch;
62− appcenter = appcenter;
63− })
64− # Provides the directory where the locales are actually installed
65− # https://github.com/elementary/onboarding/pull/147
66− (fetchpatch {
67− url = "https://github.com/elementary/onboarding/commit/af19c3dbefd1c0e0ec18eddacc1f21cb991f5513.patch";
68− sha256 = "sha256-fSFfjSd33W7rXXEUHY8b3rv9B9c31XfCjxjRxBBrqjs=";
69− })
70− ];
71−
7270 postPatch = ''
7371 chmod +x meson/post_install.py
7472 patchShebangs meson/post_install.py
pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix+7−9
@@ -13,21 +13,13 @@ stdenv.mkDerivation rec {
1313 pname = "elementary-print-shim";
1414 version = "0.1.3";
1515
16− repoName = "print";
17−
1816 src = fetchFromGitHub {
1917 owner = "elementary";
20− repo = repoName;
18+ repo = "print";
2119 rev = version;
2220 sha256 = "sha256-l2IUu9Mj22lZ5yajPcsGrJcJDakNu4srCV0Qea5ybPA=";
2321 };
2422
25− passthru = {
26− updateScript = nix-update-script {
27− attrPath = "pantheon.${pname}";
28− };
29− };
30−
3123 nativeBuildInputs = [
3224 meson
3325 ninja
@@ -37,6 +29,12 @@ stdenv.mkDerivation rec {
3729
3830 buildInputs = [ gtk3 ];
3931
32+ passthru = {
33+ updateScript = nix-update-script {
34+ attrPath = "pantheon.${pname}";
35+ };
36+ };
37+
4038 meta = with lib; {
4139 description = "Simple shim for printing support via Contractor";
4240 homepage = "https://github.com/elementary/print";
pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix+2−4
@@ -80,7 +80,7 @@ let
8080 Name=Pantheon
8181 Comment=This session provides elementary experience
8282 Exec=@out@/libexec/pantheon
83− TryExec=${wingpanel}/bin/wingpanel
83+ TryExec=${wingpanel}/bin/io.elementary.wingpanel
8484 Icon=
8585 DesktopNames=Pantheon
8686 Type=Application
@@ -92,11 +92,9 @@ stdenv.mkDerivation rec {
9292 pname = "elementary-session-settings";
9393 version = "6.0.0";
9494
95− repoName = "session-settings";
96−
9795 src = fetchFromGitHub {
9896 owner = "elementary";
99− repo = repoName;
97+ repo = "session-settings";
10098 rev = version;
10199 sha256 = "1faglpa7q3a4335gnd074a3lnsdspyjdnskgy4bfnf6xmwjx7kjx";
102100 };
pkgs/desktops/pantheon/desktop/wingpanel-indicators/a11y/default.nix+6−6
@@ -34,12 +34,6 @@ stdenv.mkDerivation rec {
3434 })
3535 ];
3636
37− passthru = {
38− updateScript = nix-update-script {
39− attrPath = "pantheon.${pname}";
40− };
41− };
42−
4337 nativeBuildInputs = [
4438 meson
4539 ninja
@@ -60,6 +54,12 @@ stdenv.mkDerivation rec {
6054 patchShebangs meson/post_install.py
6155 '';
6256
57+ passthru = {
58+ updateScript = nix-update-script {
59+ attrPath = "pantheon.${pname}";
60+ };
61+ };
62+
6363 meta = with lib; {
6464 description = "Universal Access Indicator for Wingpanel";
6565 homepage = "https://github.com/elementary/wingpanel-indicator-a11y";
pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix+6−6
@@ -27,12 +27,6 @@ stdenv.mkDerivation rec {
2727 sha256 = "12rasf8wy3cqnfjlm9s2qnx4drzx0w0yviagkng3kspdzm3vzsqy";
2828 };
2929
30− passthru = {
31− updateScript = nix-update-script {
32− attrPath = "pantheon.${pname}";
33− };
34− };
35−
3630 nativeBuildInputs = [
3731 glib # for glib-compile-schemas
3832 libxml2
@@ -57,6 +51,12 @@ stdenv.mkDerivation rec {
5751 patchShebangs meson/post_install.py
5852 '';
5953
54+ passthru = {
55+ updateScript = nix-update-script {
56+ attrPath = "pantheon.${pname}";
57+ };
58+ };
59+
6060 meta = with lib; {
6161 description = "Bluetooth Indicator for Wingpanel";
6262 homepage = "https://github.com/elementary/wingpanel-indicator-bluetooth";
pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix+17−17
@@ -29,11 +29,18 @@ stdenv.mkDerivation rec {
2929 sha256 = "10zzsil5l6snz47nx887r22sl2n0j6bg4dhxmgk3j3xp3jhgmrgl";
3030 };
3131
32− passthru = {
33− updateScript = nix-update-script {
34− attrPath = "pantheon.${pname}";
35− };
36− };
32+ patches = [
33+ (substituteAll {
34+ src = ./fix-paths.patch;
35+ gkbd_keyboard_display = "${libgnomekbd}/bin/gkbd-keyboard-display";
36+ })
37+ # Upstream code not respecting our localedir
38+ # https://github.com/elementary/wingpanel-indicator-keyboard/pull/110
39+ (fetchpatch {
40+ url = "https://github.com/elementary/wingpanel-indicator-keyboard/commit/ea5df2f62a99a216ee5ed137268e710490a852a4.patch";
41+ sha256 = "0fmdz10xgzsryj0f0dnpjrh9yygjkb91a7pxg0rwddxbprhnr7j0";
42+ })
43+ ];
3744
3845 nativeBuildInputs = [
3946 meson
@@ -52,18 +59,11 @@ stdenv.mkDerivation rec {
5259 xorg.xkeyboardconfig
5360 ];
5461
55− patches = [
56− (substituteAll {
57− src = ./fix-paths.patch;
58− gkbd_keyboard_display = "${libgnomekbd}/bin/gkbd-keyboard-display";
59− })
60− # Upstream code not respecting our localedir
61− # https://github.com/elementary/wingpanel-indicator-keyboard/pull/110
62− (fetchpatch {
63− url = "https://github.com/elementary/wingpanel-indicator-keyboard/commit/ea5df2f62a99a216ee5ed137268e710490a852a4.patch";
64− sha256 = "0fmdz10xgzsryj0f0dnpjrh9yygjkb91a7pxg0rwddxbprhnr7j0";
65− })
66− ];
62+ passthru = {
63+ updateScript = nix-update-script {
64+ attrPath = "pantheon.${pname}";
65+ };
66+ };
6767
6868 meta = with lib; {
6969 description = "Keyboard Indicator for Wingpanel";
pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix+6−6
@@ -34,12 +34,6 @@ stdenv.mkDerivation rec {
3434 })
3535 ];
3636
37− passthru = {
38− updateScript = nix-update-script {
39− attrPath = "pantheon.${pname}";
40− };
41− };
42−
4337 nativeBuildInputs = [
4438 libxml2
4539 meson
@@ -55,6 +49,12 @@ stdenv.mkDerivation rec {
5549 wingpanel
5650 ];
5751
52+ passthru = {
53+ updateScript = nix-update-script {
54+ attrPath = "pantheon.${pname}";
55+ };
56+ };
57+
5858 meta = with lib; {
5959 description = "Night Light Indicator for Wingpanel";
6060 homepage = "https://github.com/elementary/wingpanel-indicator-nightlight";
pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix+12−12
@@ -30,11 +30,12 @@ stdenv.mkDerivation rec {
3030 sha256 = "1zlpnl7983jkpy2nik08ih8lwrqvm456h993ixa6armzlazdvnjk";
3131 };
3232
33− passthru = {
34− updateScript = nix-update-script {
35− attrPath = "pantheon.${pname}";
36− };
37− };
33+ patches = [
34+ (substituteAll {
35+ src = ./fix-paths.patch;
36+ gnome_power_manager = gnome.gnome-power-manager;
37+ })
38+ ];
3839
3940 nativeBuildInputs = [
4041 meson
@@ -55,18 +56,17 @@ stdenv.mkDerivation rec {
5556 wingpanel
5657 ];
5758
58− patches = [
59− (substituteAll {
60− src = ./fix-paths.patch;
61− gnome_power_manager = gnome.gnome-power-manager;
62− })
63− ];
64−
6559 postPatch = ''
6660 chmod +x meson/post_install.py
6761 patchShebangs meson/post_install.py
6862 '';
6963
64+ passthru = {
65+ updateScript = nix-update-script {
66+ attrPath = "pantheon.${pname}";
67+ };
68+ };
69+
7070 meta = with lib; {
7171 description = "Power Indicator for Wingpanel";
7272 homepage = "https://github.com/elementary/wingpanel-indicator-power";
pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix+6−6
@@ -35,12 +35,6 @@ stdenv.mkDerivation rec {
3535 })
3636 ];
3737
38− passthru = {
39− updateScript = nix-update-script {
40− attrPath = "pantheon.${pname}";
41− };
42− };
43−
4438 nativeBuildInputs = [
4539 meson
4640 ninja
@@ -57,6 +51,12 @@ stdenv.mkDerivation rec {
5751 wingpanel
5852 ];
5953
54+ passthru = {
55+ updateScript = nix-update-script {
56+ attrPath = "pantheon.${pname}";
57+ };
58+ };
59+
6060 meta = with lib; {
6161 description = "Session Indicator for Wingpanel";
6262 homepage = "https://github.com/elementary/wingpanel-indicator-session";
pkgs/desktops/pantheon/desktop/wingpanel/default.nix+4−4
@@ -31,6 +31,10 @@ stdenv.mkDerivation rec {
3131 sha256 = "sha256-WvkQx+9YjKCINpyVg8KjCV0GAb0rJfblSFaO14/4oas=";
3232 };
3333
34+ patches = [
35+ ./indicators.patch
36+ ];
37+
3438 nativeBuildInputs = [
3539 gettext
3640 meson
@@ -53,10 +57,6 @@ stdenv.mkDerivation rec {
5357 mesa # for libEGL
5458 ];
5559
56− patches = [
57− ./indicators.patch
58− ];
59−
6060 postPatch = ''
6161 chmod +x meson/post_install.py
6262 patchShebangs meson/post_install.py
pkgs/desktops/pantheon/services/contractor/default.nix+6−6
@@ -25,12 +25,6 @@ stdenv.mkDerivation rec {
2525 sha256 = "1sqww7zlzl086pjww3d21ah1g78lfrc9aagrqhmsnnbji9gwb8ab";
2626 };
2727
28− passthru = {
29− updateScript = nix-update-script {
30− attrPath = "pantheon.${pname}";
31− };
32− };
33−
3428 nativeBuildInputs = [
3529 dbus
3630 meson
@@ -49,6 +43,12 @@ stdenv.mkDerivation rec {
4943
5044 PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
5145
46+ passthru = {
47+ updateScript = nix-update-script {
48+ attrPath = "pantheon.${pname}";
49+ };
50+ };
51+
5252 meta = with lib; {
5353 description = "A desktop-wide extension service used by elementary OS";
5454 homepage = "https://github.com/elementary/contractor";
pkgs/desktops/pantheon/services/elementary-notifications/default.nix+1−3
@@ -19,11 +19,9 @@ stdenv.mkDerivation rec {
1919 pname = "elementary-notifications";
2020 version = "6.0.0";
2121
22− repoName = "notifications";
23−
2422 src = fetchFromGitHub {
2523 owner = "elementary";
26− repo = repoName;
24+ repo = "notifications";
2725 rev = version;
2826 sha256 = "0jfppafbc8jwhhnillylicz4zfds789d8b31ifsx0qijlxa7kji9";
2927 };
pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix+1−3
@@ -23,11 +23,9 @@ stdenv.mkDerivation rec {
2323 pname = "elementary-settings-daemon";
2424 version = "1.1.0";
2525
26− repoName = "settings-daemon";
27−
2826 src = fetchFromGitHub {
2927 owner = "elementary";
30− repo = repoName;
28+ repo = "settings-daemon";
3129 rev = version;
3230 sha256 = "sha256-1Xp1uJzDFuGZlhJhKj00cYtb4Q1syMAm+82fTOtk0VI=";
3331 };
pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix+6−6
@@ -25,12 +25,6 @@ stdenv.mkDerivation rec {
2525 sha256 = "0hx3sky0vd2vshkscy3w5x3s18gd45cfqh510xhbmvc0sa32q9gd";
2626 };
2727
28− passthru = {
29− updateScript = nix-update-script {
30− attrPath = "pantheon.${pname}";
31− };
32− };
33−
3428 nativeBuildInputs = [
3529 desktop-file-utils
3630 meson
@@ -51,6 +45,12 @@ stdenv.mkDerivation rec {
5145 ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
5246 '';
5347
48+ passthru = {
49+ updateScript = nix-update-script {
50+ attrPath = "pantheon.${pname}";
51+ };
52+ };
53+
5454 meta = with lib; {
5555 description = "Pantheon Geoclue2 Agent";
5656 homepage = "https://github.com/elementary/pantheon-agent-geoclue2";
pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix+6−6
@@ -24,12 +24,6 @@ stdenv.mkDerivation rec {
2424 sha256 = "1acqjjarl225yk0f68wkldsamcrzrj0ibpcxma04wq9w7jlmz60c";
2525 };
2626
27− passthru = {
28− updateScript = nix-update-script {
29− attrPath = "pantheon.${pname}";
30− };
31− };
32−
3327 nativeBuildInputs = [
3428 meson
3529 ninja
@@ -45,6 +39,12 @@ stdenv.mkDerivation rec {
4539 polkit
4640 ];
4741
42+ passthru = {
43+ updateScript = nix-update-script {
44+ attrPath = "pantheon.${pname}";
45+ };
46+ };
47+
4848 meta = with lib; {
4949 description = "Polkit Agent for the Pantheon Desktop";
5050 homepage = "https://github.com/elementary/pantheon-agent-polkit";