diff options
Diffstat (limited to 'pkgs')
20 files changed, 63 insertions, 42 deletions
diff --git a/pkgs/applications/backup/timeshift/unwrapped.nix b/pkgs/applications/backup/timeshift/unwrapped.nix index 7f27a0d6ca1b5..61964370b3e2d 100644 --- a/pkgs/applications/backup/timeshift/unwrapped.nix +++ b/pkgs/applications/backup/timeshift/unwrapped.nix @@ -10,7 +10,7 @@ , libgee , util-linux , vte -, xapps +, xapp }: stdenv.mkDerivation rec { @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { json-glib libgee vte - xapps + xapp ]; preBuild = '' diff --git a/pkgs/applications/editors/xed-editor/default.nix b/pkgs/applications/editors/xed-editor/default.nix index 834130af12b4b..0cbca2ea2bde6 100644 --- a/pkgs/applications/editors/xed-editor/default.nix +++ b/pkgs/applications/editors/xed-editor/default.nix @@ -7,7 +7,7 @@ , gtk3 , gtksourceview4 , gspell -, xapps +, xapp , pkg-config , python3 , meson @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { gtksourceview4 libpeas gspell - xapps + xapp ]; doInstallCheck = true; diff --git a/pkgs/applications/misc/sticky/default.nix b/pkgs/applications/misc/sticky/default.nix index b9d12066affd0..a66fecd83b76c 100644 --- a/pkgs/applications/misc/sticky/default.nix +++ b/pkgs/applications/misc/sticky/default.nix @@ -33,7 +33,7 @@ python3.pkgs.buildPythonApplication rec { buildInputs = [ glib gobject-introspection - cinnamon.xapps + cinnamon.xapp gspell ]; diff --git a/pkgs/applications/video/hypnotix/default.nix b/pkgs/applications/video/hypnotix/default.nix index b65f41d9a96d8..af6d9fe702c42 100644 --- a/pkgs/applications/video/hypnotix/default.nix +++ b/pkgs/applications/video/hypnotix/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { dontWrapGApps = true; buildInputs = [ - cinnamon.xapps + cinnamon.xapp ]; pythonPath = with python3.pkgs; [ diff --git a/pkgs/applications/video/xplayer/default.nix b/pkgs/applications/video/xplayer/default.nix index a18b5311f5baa..3bbbb115fbea5 100644 --- a/pkgs/applications/video/xplayer/default.nix +++ b/pkgs/applications/video/xplayer/default.nix @@ -22,7 +22,7 @@ , pkg-config , python3 , wrapGAppsHook -, xapps +, xapp , yelp-tools }: let @@ -83,7 +83,7 @@ stdenv.mkDerivation rec { libxml2 libxplayer-plparser pythonenv - xapps + xapp # to satisfy configure script pythonenv.pkgs.pygobject3 ]; diff --git a/pkgs/desktops/cinnamon/cinnamon-common/default.nix b/pkgs/desktops/cinnamon/cinnamon-common/default.nix index 133f404ee9ed9..87d500cf617b3 100644 --- a/pkgs/desktops/cinnamon/cinnamon-common/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-common/default.nix @@ -35,7 +35,7 @@ , python3 , keybinder3 , cairo -, xapps +, xapp , upower , nemo , libnotify @@ -68,7 +68,20 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - (python3.withPackages (pp: with pp; [ dbus-python setproctitle pygobject3 pycairo xapp pillow pytz tinycss2 python-pam pexpect distro requests ])) + (python3.withPackages (pp: with pp; [ + dbus-python + setproctitle + pygobject3 + pycairo + python3.pkgs.xapp # The scope prefix is required + pillow + pytz + tinycss2 + python-pam + pexpect + distro + requests + ])) atk cacert cinnamon-control-center @@ -99,7 +112,7 @@ stdenv.mkDerivation rec { gnome.caribou keybinder3 upower - xapps + xapp timezonemap nemo libnotify @@ -134,8 +147,8 @@ stdenv.mkDerivation rec { sed "s|/usr/share/sounds|/run/current-system/sw/share/sounds|g" -i ./files/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py - sed "s|/usr/bin/upload-system-info|${xapps}/bin/upload-system-info|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py - sed "s|upload-system-info|${xapps}/bin/upload-system-info|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py + sed "s|/usr/bin/upload-system-info|${xapp}/bin/upload-system-info|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py + sed "s|upload-system-info|${xapp}/bin/upload-system-info|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py sed "s|/usr/bin/cinnamon-control-center|${cinnamon-control-center}/bin/cinnamon-control-center|g" -i ./files/usr/bin/cinnamon-settings # this one really IS optional diff --git a/pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix b/pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix index 3066d7fcd8075..a3456755045f7 100644 --- a/pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix @@ -10,7 +10,7 @@ , muffin , nemo -, xapps +, xapp , cinnamon-desktop , cinnamon-session , cinnamon-settings-daemon @@ -28,7 +28,7 @@ let bulky muffin nemo - xapps + xapp cinnamon-desktop cinnamon-session cinnamon-settings-daemon diff --git a/pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix b/pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix index 6afc854206499..23be4175ab6d6 100644 --- a/pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix @@ -22,7 +22,7 @@ , pam , accountsservice , cairo -, xapps +, xapp , xdotool , xorg , iso-flags-png-320x420 @@ -71,8 +71,13 @@ stdenv.mkDerivation rec { xorg.libX11 xorg.libXrandr - (python3.withPackages (pp: with pp; [ pygobject3 setproctitle xapp pycairo ])) - xapps + (python3.withPackages (pp: with pp; [ + pygobject3 + setproctitle + python3.pkgs.xapp # The scope prefix is required + pycairo + ])) + xapp xdotool pam accountsservice diff --git a/pkgs/desktops/cinnamon/cinnamon-session/default.nix b/pkgs/desktops/cinnamon/cinnamon-session/default.nix index 56fc8fb04b8ad..261433e658729 100644 --- a/pkgs/desktops/cinnamon/cinnamon-session/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-session/default.nix @@ -17,7 +17,7 @@ , stdenv , systemd , wrapGAppsHook -, xapps +, xapp , xorg , libexecinfo , pango @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { pango xorg.libX11 xorg.libXext - xapps + xapp xorg.libXau xorg.libXcomposite diff --git a/pkgs/desktops/cinnamon/cjs/default.nix b/pkgs/desktops/cinnamon/cjs/default.nix index b7ebd86afc24e..74b1053818362 100644 --- a/pkgs/desktops/cinnamon/cjs/default.nix +++ b/pkgs/desktops/cinnamon/cjs/default.nix @@ -8,7 +8,7 @@ , python3 , cairo , gnome -, xapps +, xapp , keybinder3 , upower , callPackage @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { gnome.caribou keybinder3 upower - xapps + xapp ]; mesonFlags = [ diff --git a/pkgs/desktops/cinnamon/default.nix b/pkgs/desktops/cinnamon/default.nix index 7f9d332ed1405..5a803c6d487c6 100644 --- a/pkgs/desktops/cinnamon/default.nix +++ b/pkgs/desktops/cinnamon/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib }: +{ config, pkgs, lib }: lib.makeScope pkgs.newScope (self: with self; { iso-flags-png-320x420 = pkgs.iso-flags.overrideAttrs (p: p // { @@ -31,8 +31,11 @@ lib.makeScope pkgs.newScope (self: with self; { mint-y-icons = callPackage ./mint-y-icons { }; muffin = callPackage ./muffin { }; pix = callPackage ./pix { }; - xapps = callPackage ./xapps { }; + xapp = callPackage ./xapp { }; warpinator = callPackage ./warpinator { }; xreader = callPackage ./xreader { }; xviewer = callPackage ./xviewer { }; -}) +}) // lib.optionalAttrs config.allowAliases { + # Aliases need to be outside the scope or they will shadow the attributes from parent scope. + xapps = pkgs.cinnamon.xapp; # added 2022-07-27 +} diff --git a/pkgs/desktops/cinnamon/nemo/default.nix b/pkgs/desktops/cinnamon/nemo/default.nix index 75db6308287ff..4b013050ad843 100644 --- a/pkgs/desktops/cinnamon/nemo/default.nix +++ b/pkgs/desktops/cinnamon/nemo/default.nix @@ -12,7 +12,7 @@ , gtk3 , gvfs , cinnamon-desktop -, xapps +, xapp , libexif , exempi , intltool @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { gtk3 cinnamon-desktop libxml2 - xapps + xapp libexif exempi gvfs diff --git a/pkgs/desktops/cinnamon/pix/default.nix b/pkgs/desktops/cinnamon/pix/default.nix index 3193efb958cb6..ebd116882a8cf 100644 --- a/pkgs/desktops/cinnamon/pix/default.nix +++ b/pkgs/desktops/cinnamon/pix/default.nix @@ -16,7 +16,7 @@ , pkg-config , shared-mime-info , wrapGAppsHook -, xapps +, xapp , yelp-tools , libsecret , webkitgtk @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { buildInputs = [ glib gtk3 - xapps + xapp libsecret webkitgtk libwebp diff --git a/pkgs/desktops/cinnamon/xapps/default.nix b/pkgs/desktops/cinnamon/xapp/default.nix index 60a0e0aea70ec..655284f20d827 100644 --- a/pkgs/desktops/cinnamon/xapps/default.nix +++ b/pkgs/desktops/cinnamon/xapp/default.nix @@ -22,7 +22,7 @@ }: stdenv.mkDerivation rec { - pname = "xapps"; + pname = "xapp"; version = "2.2.14"; outputs = [ "out" "dev" ]; @@ -96,7 +96,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - homepage = "https://github.com/linuxmint/xapps"; + homepage = "https://github.com/linuxmint/xapp"; description = "Cross-desktop libraries and common resources"; license = licenses.lgpl3; platforms = platforms.linux; diff --git a/pkgs/desktops/cinnamon/xreader/default.nix b/pkgs/desktops/cinnamon/xreader/default.nix index 043b730ec7659..67983d5056942 100644 --- a/pkgs/desktops/cinnamon/xreader/default.nix +++ b/pkgs/desktops/cinnamon/xreader/default.nix @@ -8,7 +8,7 @@ , gtk3 , wrapGAppsHook , libxml2 -, xapps +, xapp , meson , pkg-config , cairo @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { buildInputs = [ glib gtk3 - xapps + xapp cairo libxml2 libsecret diff --git a/pkgs/desktops/cinnamon/xviewer/default.nix b/pkgs/desktops/cinnamon/xviewer/default.nix index d7c7ef638db5f..c0dc50182c018 100644 --- a/pkgs/desktops/cinnamon/xviewer/default.nix +++ b/pkgs/desktops/cinnamon/xviewer/default.nix @@ -21,7 +21,7 @@ , pkg-config , python3 , wrapGAppsHook -, xapps +, xapp , yelp-tools }: @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { libpeas librsvg libxml2 - xapps + xapp ]; meta = with lib; { diff --git a/pkgs/development/python-modules/xapp/default.nix b/pkgs/development/python-modules/xapp/default.nix index b847132f34d71..ba48de4de7e1b 100644 --- a/pkgs/development/python-modules/xapp/default.nix +++ b/pkgs/development/python-modules/xapp/default.nix @@ -5,7 +5,7 @@ , pygobject3 , gtk3 , gobject-introspection -, xapps +, xapp , polkit }: @@ -25,7 +25,7 @@ buildPythonPackage rec { pygobject3 gtk3 gobject-introspection - xapps + xapp polkit ]; diff --git a/pkgs/tools/bluetooth/blueberry/default.nix b/pkgs/tools/bluetooth/blueberry/default.nix index 3954d3f5cd9b0..9208e286c9b42 100644 --- a/pkgs/tools/bluetooth/blueberry/default.nix +++ b/pkgs/tools/bluetooth/blueberry/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { buildInputs = [ bluez-tools - cinnamon.xapps + cinnamon.xapp gnome.gnome-bluetooth_1_0 python3Packages.python util-linux diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 49772490ff0fd..15de4f4654541 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30637,7 +30637,7 @@ with pkgs; timelimit = callPackage ../tools/misc/timelimit { }; - timeshift-unwrapped = callPackage ../applications/backup/timeshift/unwrapped.nix { inherit (cinnamon) xapps; }; + timeshift-unwrapped = callPackage ../applications/backup/timeshift/unwrapped.nix { inherit (cinnamon) xapp; }; timeshift = callPackage ../applications/backup/timeshift { grubPackage = grub2_full; }; @@ -31383,7 +31383,7 @@ with pkgs; xdotool = callPackage ../tools/X11/xdotool { }; xed-editor = callPackage ../applications/editors/xed-editor { - xapps = cinnamon.xapps; + xapp = cinnamon.xapp; }; xenPackages = recurseIntoAttrs (callPackage ../applications/virtualization/xen/packages.nix {}); @@ -31493,7 +31493,7 @@ with pkgs; xplayer = callPackage ../applications/video/xplayer { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad; - inherit (cinnamon) xapps; + inherit (cinnamon) xapp; }; libxplayer-plparser = callPackage ../applications/video/xplayer/plparser.nix { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4f430c6bb183c..53574ad1b6eb4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11448,7 +11448,7 @@ in { xapp = callPackage ../development/python-modules/xapp { inherit (pkgs) gtk3 gobject-introspection polkit; - inherit (pkgs.cinnamon) xapps; + inherit (pkgs.cinnamon) xapp; }; xarray = callPackage ../development/python-modules/xarray { }; |