2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchurl, libguestfs, qemu }:
|
2019-02-07 01:53:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "guestfs";
|
|
|
|
version = "1.40.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.libguestfs.org/python/guestfs-${version}.tar.gz";
|
|
|
|
sha256 = "06a4b5xf1rkhnzfvck91n0z9mlkrgy90s9na5a8da2g4p776lhkf";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ libguestfs qemu ];
|
|
|
|
|
2021-01-10 07:06:55 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "guestfs" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://libguestfs.org/guestfs-python.3.html";
|
2019-02-07 01:53:59 +00:00
|
|
|
description = "Use libguestfs from Python";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ grahamc ];
|
|
|
|
};
|
|
|
|
}
|