Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
913 B · 40 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041{ 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; };}