python3Packages.libvirt-python: rename from libvirt (#543905)

This commit is contained in:
dotlambda
2026-07-20 17:13:22 +00:00
committed by GitHub
8 changed files with 10 additions and 7 deletions

View File

@@ -118,7 +118,7 @@ in
};
# NOTE: Yes, there is also a plugin named `layout-xkbswitch` with a dash.
layout_xkbswitch.propagatedBuildInputs = [ pkgs.xkb-switch ];
libvirtvms.propagatedBuildInputs = [ py.libvirt ];
libvirtvms.propagatedBuildInputs = [ py.libvirt-python ];
load.propagatedBuildInputs = [ pkgs.gnome-system-monitor ];
memory.propagatedBuildInputs = [ pkgs.gnome-system-monitor ];
messagereceiver = { };

View File

@@ -60,7 +60,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
defusedxml
gitpython
libcloud
libvirt
libvirt-python
magic
mwclient
oscrypto

View File

@@ -419,7 +419,7 @@ stdenv.mkDerivation rec {
libvirtVersion=$(curl https://gitlab.com/api/v4/projects/192693/repository/tags | jq -r '.[].name|select(. | contains("rc") | not)' | head -n1 | sed "s/v//g")
sysvirtVersion=$(curl https://gitlab.com/api/v4/projects/192677/repository/tags | jq -r '.[].name|select(. | contains("rc") | not)' | head -n1 | sed "s/v//g")
update-source-version ${pname} "$libvirtVersion"
update-source-version python3Packages.${pname} "$libvirtVersion"
update-source-version python3Packages.libvirt-python "$libvirtVersion"
update-source-version perlPackages.SysVirt "$sysvirtVersion" --file="pkgs/top-level/perl-packages.nix"
'';

View File

@@ -28,7 +28,7 @@
let
pythonDependencies = with python3.pkgs; [
pygobject3
libvirt
libvirt-python
libxml2
requests
];

View File

@@ -22,7 +22,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
];
dependencies = with python3Packages; [
libvirt
libvirt-python
tqdm
libnbd
lz4

View File

@@ -11,7 +11,7 @@
}:
buildPythonPackage rec {
pname = "libvirt";
pname = "libvirt-python";
version = "12.4.0";
pyproject = true;

View File

@@ -347,6 +347,7 @@ mapAliases {
libclang = clang; # added 2026-06-18
libgpiod = gpiod; # added 2026-03-30
libpyfoscam = throw "libpyfoscam was removed because Home Assistant switched to libpyfoscamcgi"; # added 2025-07-03
libvirt = libvirt-python; # added 2026-07-20
line_profiler = throw "'line_profiler' has been renamed to/replaced by 'line-profiler'"; # Converted to throw 2025-10-29
linear-garage-door = throw "'linear-garage-door' has been superseded by 'nice-go'"; # Added 2025-11-16
linear_operator = throw "'linear_operator' has been renamed to/replaced by 'linear-operator'"; # Converted to throw 2025-10-29

View File

@@ -9445,7 +9445,9 @@ self: super: with self; {
libversion = callPackage ../development/python-modules/libversion { inherit (pkgs) libversion; };
libvirt = callPackage ../development/python-modules/libvirt { inherit (pkgs) libvirt; };
libvirt-python = callPackage ../development/python-modules/libvirt-python {
inherit (pkgs) libvirt;
};
libxc = callPackage ../by-name/li/libxc/python.nix {
libxc = pkgs.libxc_7;