Merge pull request #42683 from lschuermann/libvmi

libvmi: init at 0.12
This commit is contained in:
Silvan Mosberger 2018-07-04 16:44:15 +02:00 committed by GitHub
commit 6fd7f31c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ stdenv,
fetchFromGitHub,
autoreconfHook,
bison,
flex,
glib,
pkgconfig,
json_c,
xen,
libvirt,
xenSupport ? true }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "libvmi-${version}";
version = "0.12.0";
src = fetchFromGitHub {
owner = "libvmi";
repo = "libvmi";
rev = "v${version}";
sha256 = "0wbi2nasb1gbci6cq23g6kq7i10rwi1y7r44rl03icr5prqjpdyv";
};
buildInputs = [ glib libvirt json_c ] ++ (optional xenSupport xen);
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
configureFlags = optional (!xenSupport) "--disable-xen";
meta = with stdenv.lib; {
homepage = "http://libvmi.com/";
description = "A C library for virtual machine introspection";
longDescription = ''
LibVMI is a C library with Python bindings that makes it easy to monitor the low-level
details of a running virtual machine by viewing its memory, trapping on hardware events,
and accessing the vCPU registers.
'';
license = with licenses; [ gpl3 lgpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ lschuermann ];
};
}

View File

@ -16943,6 +16943,8 @@ with pkgs;
libreoffice = libreoffice-still-unwrapped;
});
libvmi = callPackage ../development/libraries/libvmi { };
liferea = callPackage ../applications/networking/newsreaders/liferea {
inherit (gnome3) libpeas gsettings-desktop-schemas dconf;
};