python3.pkgs.python-xapp: Renamed from python3.pkgs.xapp

* The upstream meson.build project name is python-xapp.
* It is too common to require both the xapp and python-xapp in the same package and as a
  result too easy to result in wrong usages like the one mentioned in pull request 213561.
This commit is contained in:
Bobby Rong 2024-07-19 23:28:25 +08:00
parent c4a62ad402
commit 4e7cf17a36
No known key found for this signature in database
9 changed files with 15 additions and 14 deletions

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
pythonPath = with python3.pkgs; [
pygobject3
xapp
python-xapp
];
dontWrapGApps = true;

View File

@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
requests
setproctitle
unidecode
xapp
python-xapp
];
installPhase = ''

View File

@ -22,7 +22,7 @@ let
protobuf
pygobject3
setproctitle
pp.xapp
python-xapp
zeroconf
grpcio
setuptools

View File

@ -58,7 +58,7 @@ let
setproctitle
pygobject3
pycairo
pp.xapp # don't omit `pp.`, see #213561
python-xapp
pillow
pyinotify # for looking-glass
pytz
@ -179,7 +179,7 @@ stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "${gnome.caribou}/share"
)
buildPythonPath "$out ${python3.pkgs.xapp}"
buildPythonPath "$out ${python3.pkgs.python-xapp}"
# https://github.com/NixOS/nixpkgs/issues/200397
patchPythonScript $out/bin/cinnamon-spice-updater

View File

@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
(python3.withPackages (pp: with pp; [
pygobject3
setproctitle
python3.pkgs.xapp # The scope prefix is required
python-xapp
pycairo
]))
xapp

View File

@ -25,7 +25,7 @@
let
pythonEnv = python3.withPackages (pp: with pp; [
pp.xapp # don't omit `pp.`, see #213561
python-xapp
pygobject3
setproctitle
]);

View File

@ -15,7 +15,7 @@
}:
buildPythonPackage rec {
pname = "xapp";
pname = "python-xapp";
version = "2.4.2";
format = "other";

View File

@ -596,6 +596,7 @@ mapAliases ({
wxPython_4_2 = wxpython; # added 2024-01-07
WSME = wsme; # added 2023-02-19
x11_hash = x11-hash; # added 2023-11-05
xapp = python-xapp; # added 2024-07-19
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
XlsxWriter = xlsxwriter; # added 2023-02-19
Yapsy = yapsy; # added 2023-02-19

View File

@ -10396,6 +10396,12 @@ self: super: with self; {
python-swiftclient = callPackage ../development/python-modules/python-swiftclient { };
python-xapp = callPackage ../development/python-modules/python-xapp {
inherit (pkgs.buildPackages) meson;
inherit (pkgs) gtk3 gobject-introspection polkit;
inherit (pkgs.cinnamon) xapp;
};
python-tado = callPackage ../development/python-modules/python-tado { };
python-idzip = callPackage ../development/python-modules/python-idzip { };
@ -17357,12 +17363,6 @@ self: super: with self; {
inherit (pkgs) xapian;
};
xapp = callPackage ../development/python-modules/xapp {
inherit (pkgs.buildPackages) meson;
inherit (pkgs) gtk3 gobject-introspection polkit;
inherit (pkgs.cinnamon) xapp;
};
xarray = callPackage ../development/python-modules/xarray { };
xarray-dataclasses = callPackage ../development/python-modules/xarray-dataclasses { };