pantheon: stylize expressions

The same way we want them in GNOME in nixpkgs.
Didn't touch the greeter expression because I have
a branch where it's already rewritten.
This commit is contained in:
worldofpeace 2019-08-05 14:02:06 -04:00
parent bd429bb06c
commit 0b59f4212c
61 changed files with 941 additions and 155 deletions

View File

@ -1,7 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig
, meson, ninja, vala, desktop-file-utils, libxml2
, gtk3, python3, granite, libgee, elementary-icon-theme
, appstream, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, desktop-file-utils
, libxml2
, gtk3
, python3
, granite
, libgee
, elementary-icon-theme
, appstream
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-calculator";

View File

@ -1,8 +1,27 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
, ninja, vala, desktop-file-utils, gtk3, granite, libgee
, geoclue2, libchamplain, clutter, folks, geocode-glib, python3
, libnotify, libical, evolution-data-server, appstream-glib
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, desktop-file-utils
, gtk3
, granite
, libgee
, geoclue2
, libchamplain
, clutter
, folks
, geocode-glib
, python3
, libnotify
, libical
, evolution-data-server
, appstream-glib
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-calendar";

View File

@ -1,6 +1,25 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
, desktop-file-utils, python3, gettext, libxml2, gtk3, granite, libgee, gst_all_1
, libcanberra, clutter-gtk, clutter-gst, elementary-icon-theme, appstream, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, desktop-file-utils
, python3
, gettext
, libxml2
, gtk3
, granite
, libgee
, gst_all_1
, libcanberra
, clutter-gtk
, clutter-gst
, elementary-icon-theme
, appstream
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-camera";

View File

@ -1,7 +1,29 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
, python3, desktop-file-utils, gtk3, granite, libgee, elementary-icon-theme
, appstream, libpeas, editorconfig-core-c, gtksourceview3, gtkspell3, libsoup
, vte, webkitgtk, zeitgeist, ctags, libgit2-glib, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, python3
, desktop-file-utils
, gtk3
, granite
, libgee
, elementary-icon-theme
, appstream
, libpeas
, editorconfig-core-c
, gtksourceview3
, gtkspell3
, libsoup
, vte
, webkitgtk
, zeitgeist
, ctags
, libgit2-glib
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-code";
@ -36,8 +58,8 @@ stdenv.mkDerivation rec {
buildInputs = [
ctags
elementary-icon-theme
editorconfig-core-c
elementary-icon-theme
granite
gtk3
gtksourceview3

View File

@ -1,7 +1,29 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, gettext, vala
, python3, desktop-file-utils, libcanberra, gtk3, libgee, granite, libnotify
, libunity, pango, plank, bamf, sqlite, libdbusmenu-gtk3, zeitgeist, glib-networking
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, gettext
, vala
, python3
, desktop-file-utils
, libcanberra
, gtk3
, libgee
, granite
, libnotify
, libunity
, pango
, plank
, bamf
, sqlite
, libdbusmenu-gtk3
, zeitgeist
, glib-networking
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-files";
@ -57,7 +79,8 @@ stdenv.mkDerivation rec {
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
substituteInPlace filechooser-module/FileChooserDialog.vala --subst-var-by ELEMENTARY_FILES_GSETTINGS_PATH $out/share/gsettings-schemas/${name}/glib-2.0/schemas
substituteInPlace filechooser-module/FileChooserDialog.vala \
--subst-var-by ELEMENTARY_FILES_GSETTINGS_PATH $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
'';
meta = with stdenv.lib; {

View File

@ -1,9 +1,31 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
, ninja, vala, desktop-file-utils, gtk3, granite
, python3, libgee, clutter-gtk, json-glib, libgda, libgpod
, libnotify, libpeas, libsoup, zeitgeist, gst_all_1, taglib
, libdbusmenu, libsignon-glib, libaccounts-glib
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, desktop-file-utils
, gtk3
, granite
, python3
, libgee
, clutter-gtk
, json-glib
, libgda
, libgpod
, libnotify
, libpeas
, libsoup
, zeitgeist
, gst_all_1
, taglib
, libdbusmenu
, libsignon-glib
, libaccounts-glib
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-music";
@ -51,9 +73,9 @@ stdenv.mkDerivation rec {
libgda
libgee
libgpod
libsignon-glib
libnotify
libpeas
libsignon-glib
libsoup
taglib
zeitgeist

View File

@ -1,7 +1,35 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, desktop-file-utils
, gtk3, libaccounts-glib, libexif, libgee, geocode-glib, gexiv2,libgphoto2
, granite, gst_all_1, libgudev, json-glib, libraw, librest, libsoup, sqlite, python3
, scour, webkitgtk, libwebp, appstream, libunity, wrapGAppsHook, elementary-icon-theme }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, desktop-file-utils
, gtk3
, libaccounts-glib
, libexif
, libgee
, geocode-glib
, gexiv2
, libgphoto2
, granite
, gst_all_1
, libgudev
, json-glib
, libraw
, librest
, libsoup
, sqlite
, python3
, scour
, webkitgtk
, libwebp
, appstream
, libunity
, wrapGAppsHook
, elementary-icon-theme
}:
stdenv.mkDerivation rec {
pname = "elementary-photos";
@ -52,10 +80,10 @@ stdenv.mkDerivation rec {
libgphoto2
libgudev
libraw
librest
libsoup
libunity
libwebp
librest
scour
sqlite
webkitgtk

View File

@ -1,6 +1,19 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
, ninja, vala, python3, desktop-file-utils, gtk3, granite, libgee
, libcanberra, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, python3
, desktop-file-utils
, gtk3
, granite
, libgee
, libcanberra
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93

View File

@ -1,6 +1,22 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3
, vala, desktop-file-utils, gtk3, libxml2, granite, libnotify, vte, libgee
, elementary-icon-theme, appstream, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, python3
, vala
, desktop-file-utils
, gtk3
, libxml2
, granite
, libnotify
, vte
, libgee
, elementary-icon-theme
, appstream
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-terminal";

View File

@ -1,6 +1,21 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, python3
, desktop-file-utils, gtk3, granite, libgee, clutter-gst, clutter-gtk, gst_all_1
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, python3
, desktop-file-utils
, gtk3
, granite
, libgee
, clutter-gst
, clutter-gtk
, gst_all_1
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-videos";

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-a11y";

View File

@ -1,5 +1,17 @@
{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja
, pkgconfig, vala, libgee, granite, gtk3, switchboard, pciutils }:
{ stdenv
, fetchFromGitHub
, pantheon
, substituteAll
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
, pciutils
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-about";

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja
, pkgconfig, vala, libgee, granite, gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-applications";

View File

@ -1,5 +1,16 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, bluez, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, bluez
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";

View File

@ -1,5 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, substituteAll, pkgconfig
, vala, libgee, granite, gtk3, libxml2, switchboard, tzdata }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, substituteAll
, pkgconfig
, vala
, libgee
, granite
, gtk3
, libxml2
, switchboard
, tzdata
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-datetime";

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja
, pkgconfig, vala, libgee, granite, gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-display";

View File

@ -1,5 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, libxml2, libgnomekbd, libxklavier, xorg, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, substituteAll
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, libxml2
, libgnomekbd
, libxklavier
, xorg
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-keyboard";

View File

@ -1,5 +1,16 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala
, libgee, granite, gtk3, switchboard, elementary-settings-daemon }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
, elementary-settings-daemon
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad";
@ -17,7 +28,8 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace src/Views/General.vala --subst-var-by GSD_GSETTINGS ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
substituteInPlace src/Views/General.vala \
--subst-var-by GSD_GSETTINGS ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
'';
passthru = {

View File

@ -1,5 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, substituteAll, vala
, libgee, granite, gtk3, networkmanager, networkmanagerapplet, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, substituteAll
, vala
, libgee
, granite
, gtk3
, networkmanager
, networkmanagerapplet
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-network";

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja
, pkgconfig, vala, libgee, granite, gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-notifications";

View File

@ -1,6 +1,21 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala
, libgee, granite, gtk3, libaccounts-glib, libsignon-glib, json-glib
, librest, webkitgtk, libsoup, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, libaccounts-glib
, libsignon-glib
, json-glib
, librest
, webkitgtk
, libsoup
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-onlineaccounts";

View File

@ -50,8 +50,10 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace src/Views/Appearance.vala --subst-var-by GALA_GSETTINGS_PATH ${gala}/share/gsettings-schemas/${gala.name}/glib-2.0/schemas
substituteInPlace src/Views/Appearance.vala --subst-var-by WINGPANEL_GSETTINGS_PATH ${wingpanel}/share/gsettings-schemas/${wingpanel.name}/glib-2.0/schemas
substituteInPlace src/Views/Appearance.vala \
--subst-var-by GALA_GSETTINGS_PATH ${gala}/share/gsettings-schemas/${gala.name}/glib-2.0/schemas
substituteInPlace src/Views/Appearance.vala \
--subst-var-by WINGPANEL_GSETTINGS_PATH ${wingpanel}/share/gsettings-schemas/${wingpanel.name}/glib-2.0/schemas
'';

View File

@ -1,6 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja
, pkgconfig, vala, libgee, elementary-dpms-helper, elementary-settings-daemon
, granite, gtk3, dbus, polkit, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, substituteAll
, meson
, ninja
, pkgconfig
, vala
, libgee
, elementary-dpms-helper
, elementary-settings-daemon
, granite
, gtk3
, dbus
, polkit
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-power";
@ -44,8 +58,10 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace src/MainView.vala --subst-var-by DPMS_HELPER_GSETTINGS_PATH ${elementary-dpms-helper}/share/gsettings-schemas/${elementary-dpms-helper.name}/glib-2.0/schemas
substituteInPlace src/MainView.vala --subst-var-by GSD_GSETTINGS_PATH ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
substituteInPlace src/MainView.vala \
--subst-var-by DPMS_HELPER_GSETTINGS_PATH ${elementary-dpms-helper}/share/gsettings-schemas/${elementary-dpms-helper.name}/glib-2.0/schemas
substituteInPlace src/MainView.vala \
--subst-var-by GSD_GSETTINGS_PATH ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
'';
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";

View File

@ -1,5 +1,16 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, cups, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, cups
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-printers";

View File

@ -1,6 +1,19 @@
{ stdenv, fetchFromGitHub, pantheon, meson, python3, ninja
, pkgconfig, vala, libgee, granite, gtk3, polkit, zeitgeist
, switchboard, lightlocker }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, python3
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, polkit
, zeitgeist
, switchboard
, lightlocker
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-security-privacy";
@ -46,8 +59,10 @@ stdenv.mkDerivation rec {
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
substituteInPlace src/Views/LockPanel.vala --subst-var-by LIGHTLOCKER_GSETTINGS_PATH ${lightlocker}/share/gsettings-schemas/${lightlocker.name}/glib-2.0/schemas
substituteInPlace src/Views/FirewallPanel.vala --subst-var-by SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
substituteInPlace src/Views/LockPanel.vala \
--subst-var-by LIGHTLOCKER_GSETTINGS_PATH ${lightlocker}/share/gsettings-schemas/${lightlocker.name}/glib-2.0/schemas
substituteInPlace src/Views/FirewallPanel.vala \
--subst-var-by SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
'';
meta = with stdenv.lib; {

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-sharing";

View File

@ -1,5 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, libgee
, granite, gtk3, pulseaudio, libcanberra, libcanberra-gtk3, switchboard }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, pulseaudio
, libcanberra
, libcanberra-gtk3
, switchboard
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-sound";

View File

@ -1,6 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja
, vala, gtk3, libgee, granite, gettext, clutter-gtk, libunity
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, libgee
, granite
, gettext
, clutter-gtk
, libunity
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "switchboard";
@ -38,7 +52,9 @@ stdenv.mkDerivation rec {
libunity
];
patches = [ ./plugs-path-env.patch ];
patches = [
./plugs-path-env.patch
];
postPatch = ''
chmod +x meson/post_install.py

View File

@ -1,4 +1,9 @@
{ makeWrapper, symlinkJoin, switchboard, switchboardPlugs, plugs }:
{ makeWrapper
, symlinkJoin
, switchboard
, switchboardPlugs
, plugs
}:
let
selectedPlugs = if plugs == null then switchboardPlugs else plugs;

View File

@ -1,4 +1,9 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
}:
stdenv.mkDerivation rec {
pname = "elementary-gtk-theme";

View File

@ -1,4 +1,12 @@
{ stdenv, fetchFromGitHub, pantheon, meson, python3,ninja, hicolor-icon-theme, gtk3 }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, python3
, ninja
, hicolor-icon-theme
, gtk3
}:
stdenv.mkDerivation rec {
pname = "elementary-icon-theme";

View File

@ -1,4 +1,7 @@
{ stdenv, fetchFromGitHub, pantheon }:
{ stdenv
, fetchFromGitHub
, pantheon
}:
stdenv.mkDerivation rec {
pname = "elementary-redacted-script";

View File

@ -1,4 +1,10 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
}:
stdenv.mkDerivation rec {
pname = "elementary-sound-theme";

View File

@ -1,4 +1,7 @@
{ stdenv, fetchFromGitHub, pantheon }:
{ stdenv
, fetchFromGitHub
, pantheon
}:
stdenv.mkDerivation rec {
pname = "elementary-wallpapers";

View File

@ -1,4 +1,7 @@
{ stdenv, fetchFromGitHub, pantheon }:
{ stdenv
, fetchFromGitHub
, pantheon
}:
stdenv.mkDerivation rec {
pname = "elementary-default-settings";

View File

@ -1,4 +1,15 @@
{ stdenv, runCommand, mutter, elementary-default-settings, nixos-artwork, glib, gala, epiphany, elementary-settings-daemon, gtk3, plank, gsettings-desktop-schemas
{ stdenv
, runCommand
, mutter
, elementary-default-settings
, nixos-artwork
, glib
, gala
, epiphany
, elementary-settings-daemon
, gtk3
, plank
, gsettings-desktop-schemas
, extraGSettingsOverrides ? ""
, extraGSettingsOverridePackages ? []
}:

View File

@ -1,4 +1,12 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, gtk3 }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, gtk3
}:
stdenv.mkDerivation rec {
pname = "elementary-print-shim";

View File

@ -1,4 +1,18 @@
{ stdenv, fetchFromGitHub, substituteAll, writeScript, pantheon, gnome-keyring, gnome-session, wingpanel, orca, at-spi2-core, elementary-default-settings, writeShellScriptBin, elementary-settings-daemon, runtimeShell }:
{ stdenv
, fetchFromGitHub
, substituteAll
, writeScript
, pantheon
, gnome-keyring
, gnome-session
, wingpanel
, orca
, at-spi2-core
, elementary-default-settings
, writeShellScriptBin
, elementary-settings-daemon
, runtimeShell
}:
let

View File

@ -1,5 +1,19 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, libxml2, desktop-file-utils
, gtk3, glib, granite, libgee, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, libxml2
, desktop-file-utils
, gtk3
, glib
, granite
, libgee
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay";

View File

@ -1,4 +1,9 @@
{ stdenv, substituteAll, fetchFromGitHub, file-roller, gnome-bluetooth }:
{ stdenv
, substituteAll
, fetchFromGitHub
, file-roller
, gnome-bluetooth
}:
stdenv.mkDerivation rec {
pname = "extra-elementary-contracts";

View File

@ -1,7 +1,28 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, vala
, desktop-file-utils, gettext, libxml2, gtk3, granite, libgee, bamf, libcanberra
, libcanberra-gtk3, gnome-desktop, mutter, clutter, plank, elementary-icon-theme
, elementary-settings-daemon, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, desktop-file-utils
, gettext
, libxml2
, gtk3
, granite
, libgee
, bamf
, libcanberra
, libcanberra-gtk3
, gnome-desktop
, mutter
, clutter
, plank
, elementary-icon-theme
, elementary-settings-daemon
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gala";
@ -48,7 +69,9 @@ stdenv.mkDerivation rec {
plank
];
patches = [ ./plugins-dir.patch ];
patches = [
./plugins-dir.patch
];
postPatch = ''
chmod +x build-aux/meson/post_install.py

View File

@ -1,7 +1,28 @@
{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja, python3
, pkgconfig, vala, granite, libgee, gettext, gtk3, appstream, gnome-menus
, json-glib, plank, bamf, switchboard, libunity, libsoup, wingpanel, zeitgeist
, bc }:
{ stdenv
, fetchFromGitHub
, pantheon
, substituteAll
, meson
, ninja
, python3
, pkgconfig
, vala
, granite
, libgee
, gettext
, gtk3
, appstream
, gnome-menus
, json-glib
, plank
, bamf
, switchboard
, libunity
, libsoup
, wingpanel
, zeitgeist
, bc
}:
stdenv.mkDerivation rec {
pname = "wingpanel-applications-menu";

View File

@ -1,6 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3
, ninja, vala, gtk3, granite, libnotify, wingpanel, libgee, libxml2
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, granite
, libnotify
, wingpanel
, libgee
, libxml2
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-bluetooth";

View File

@ -1,6 +1,24 @@
{ stdenv, fetchFromGitHub, fetchpatch, pantheon, pkgconfig, meson, python3
, ninja, vala, gtk3, granite, wingpanel, evolution-data-server
, libical, libgee, libxml2, libsoup, elementary-calendar, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, fetchpatch
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, granite
, wingpanel
, evolution-data-server
, libical
, libgee
, libxml2
, libsoup
, elementary-calendar
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-datetime";

View File

@ -1,6 +1,21 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja
, substituteAll, vala, gtk3, granite, libxml2, wingpanel, libgee
, xorg, libgnomekbd, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, substituteAll
, vala
, gtk3
, granite
, libxml2
, wingpanel
, libgee
, xorg
, libgnomekbd
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-keyboard";

View File

@ -1,6 +1,19 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
, gtk3, granite, networkmanager, networkmanagerapplet, wingpanel
, libgee, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, granite
, networkmanager
, networkmanagerapplet
, wingpanel
, libgee
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-network";

View File

@ -1,5 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
, gtk3, granite, wingpanel, libgee, libxml2, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, granite
, wingpanel
, libgee
, libxml2
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-nightlight";

View File

@ -1,5 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, gtk3, granite
, wingpanel, libgee, libwnck3, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, granite
, wingpanel
, libgee
, libwnck3
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-notifications";

View File

@ -1,6 +1,21 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3
, ninja, vala, gtk3, granite, bamf, libgtop, udev, wingpanel
, libgee, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, granite
, bamf
, libgtop
, udev
, wingpanel
, libgee
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-power";

View File

@ -1,6 +1,18 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
, ninja, vala, gtk3, granite, wingpanel, accountsservice
, libgee, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, granite
, wingpanel
, accountsservice
, libgee
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-session";

View File

@ -1,7 +1,22 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
, python3, ninja, vala, gtk3, granite, wingpanel, libnotify
, pulseaudio, libcanberra-gtk3, libgee, libxml2, wrapGAppsHook
, elementary-icon-theme }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, granite
, wingpanel
, libnotify
, pulseaudio
, libcanberra-gtk3
, libgee
, libxml2
, wrapGAppsHook
, elementary-icon-theme
}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-sound";

View File

@ -1,5 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, wrapGAppsHook, pkgconfig, meson, ninja
, vala, gala, gtk3, libgee, granite, gettext, mutter, json-glib, python3 }:
{ stdenv
, fetchFromGitHub
, pantheon
, wrapGAppsHook
, pkgconfig
, meson
, ninja
, vala
, gala
, gtk3
, libgee
, granite
, gettext
, mutter
, json-glib
, python3
}:
stdenv.mkDerivation rec {
pname = "wingpanel";

View File

@ -1,4 +1,11 @@
{ lib, makeWrapper, symlinkJoin, wingpanel, wingpanelIndicators, switchboard-with-plugs, indicators ? null }:
{ lib
, makeWrapper
, symlinkJoin
, wingpanel
, wingpanelIndicators
, switchboard-with-plugs
, indicators ? null
}:
let
selectedIndicators = if indicators == null then wingpanelIndicators else indicators;

View File

@ -1,4 +1,20 @@
{ stdenv, fetchFromGitHub, fetchpatch, python3, meson, ninja, vala, pkgconfig, libgee, pantheon, gtk3, glib, gettext, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, fetchpatch
, python3
, meson
, ninja
, vala
, pkgconfig
, libgee
, pantheon
, gtk3
, glib
, gettext
, hicolor-icon-theme
, gobject-introspection
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "granite";

View File

@ -1,4 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, glib, libgee, vala, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, glib
, libgee
, vala
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "cerbere";

View File

@ -1,4 +1,17 @@
{ stdenv, fetchFromGitHub, pantheon, meson, python3, ninja, pkgconfig, vala, glib, libgee, dbus, glib-networking, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, python3
, ninja
, pkgconfig
, vala
, glib
, libgee
, dbus
, glib-networking
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "contractor";
@ -33,7 +46,7 @@ stdenv.mkDerivation rec {
libgee
];
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "share/dbus-1/services";
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder ''out''}/share/dbus-1/services";
meta = with stdenv.lib; {
description = "A desktop-wide extension service used by elementary OS";

View File

@ -1,5 +1,19 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, vala
, desktop-file-utils, gtk3, granite, libgee, gcr, webkitgtk, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, desktop-file-utils
, gtk3
, granite
, libgee
, gcr
, webkitgtk
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-capnet-assist";
@ -40,7 +54,9 @@ stdenv.mkDerivation rec {
];
# Not useful here or in elementary - See: https://github.com/elementary/capnet-assist/issues/3
patches = [ ./remove-capnet-test.patch ];
patches = [
./remove-capnet-test.patch
];
postPatch = ''
chmod +x meson/post_install.py

View File

@ -1,4 +1,14 @@
{ stdenv, fetchFromGitHub, pantheon, makeWrapper, meson, ninja, desktop-file-utils, glib, coreutils, elementary-settings-daemon, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, desktop-file-utils
, glib
, coreutils
, elementary-settings-daemon
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-dpms-helper";
@ -22,7 +32,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
desktop-file-utils
makeWrapper
meson
ninja
wrapGAppsHook

View File

@ -1,5 +1,17 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, glib
, gtk3, libgee, desktop-file-utils, geoclue2, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, glib
, gtk3
, libgee
, desktop-file-utils
, geoclue2
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-geoclue2";

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja
, vala, gtk3, libgee, polkit, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, libgee
, polkit
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";

View File

@ -1,5 +1,21 @@
{ runCommand, nix, bash, git, jq, nix-prefetch-scripts, coreutils, common-updater-scripts, gnugrep, gnused, curl }:
{ repoName, attrPath ? repoName, versionPolicy ? "release" }:
{ runCommand
, nix
, bash
, git
, jq
, nix-prefetch-scripts
, coreutils
, common-updater-scripts
, gnugrep
, gnused
, curl
}:
{ repoName
, attrPath ? repoName
, versionPolicy ? "release"
}:
let
script = ./update.sh;