Fernando Rodrigues 8f60e7ea6f
python313Packages.guestfs: mark broken
Looks like it implictly calls a function that shouldn't be called implictly after 3.12.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-05-14 10:52:16 -03:00

41 lines
913 B
Nix

{
lib,
pythonAtLeast,
buildPythonPackage,
fetchurl,
libguestfs,
qemu,
}:
buildPythonPackage rec {
pname = "guestfs";
version = "1.40.2";
format = "setuptools";
# FIXME: "error: implicit declaration of function 'PyEval_ThreadsInitialized'"
# https://bugzilla.redhat.com/show_bug.cgi?id=2343777
disabled = pythonAtLeast "3.13";
src = fetchurl {
url = "http://download.libguestfs.org/python/guestfs-${version}.tar.gz";
hash = "sha256-GCKwkhrIXPz0hPrwe3YrhlEr6TuDYQivDzpMlZ+CAzI=";
};
propagatedBuildInputs = [
libguestfs
qemu
];
# no tests
doCheck = false;
pythonImportsCheck = [ "guestfs" ];
meta = with lib; {
homepage = "https://libguestfs.org/guestfs-python.3.html";
description = "Use libguestfs from Python";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ grahamc ];
inherit (libguestfs.meta) platforms;
};
}