Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchurl, 5 libguestfs, 6 qemu, 7}: 8 9buildPythonPackage rec { 10 pname = "guestfs"; 11 version = "1.40.1"; 12 format = "setuptools"; 13 14 src = fetchurl { 15 url = "http://download.libguestfs.org/python/guestfs-${version}.tar.gz"; 16 sha256 = "06a4b5xf1rkhnzfvck91n0z9mlkrgy90s9na5a8da2g4p776lhkf"; 17 }; 18 19 propagatedBuildInputs = [ 20 libguestfs 21 qemu 22 ]; 23 24 # no tests 25 doCheck = false; 26 pythonImportsCheck = [ "guestfs" ]; 27 28 meta = with lib; { 29 homepage = "https://libguestfs.org/guestfs-python.3.html"; 30 description = "Use libguestfs from Python"; 31 license = licenses.lgpl2Plus; 32 maintainers = with maintainers; [ grahamc ]; 33 inherit (libguestfs.meta) platforms; 34 }; 35}