diff --git a/pkgs/development/libraries/libvmi/default.nix b/pkgs/development/libraries/libvmi/default.nix new file mode 100644 index 00000000000..6891400fe76 --- /dev/null +++ b/pkgs/development/libraries/libvmi/default.nix @@ -0,0 +1,31 @@ +{ stdenv, xen, which, autoreconfHook, fetchFromGitHub, yacc, bison, flex, glib, libtool, autoconf, automake, pkgconfig, libvirt }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "libvmi-${version}"; + version = "${stdenv.lib.strings.substring 0 7 rev}-2017-05-27"; + rev = "3e4114a64f012f1d3e2eb660bc65dcd130295d49"; + + src = fetchFromGitHub { + inherit rev; + owner = "libvmi"; + repo = "libvmi"; + sha256 = "0vbmrj0ij19i55afkqj64q7sgh0scpwk3c99qx6p6gn1qcy2wdss"; + }; + + buildInputs = [ glib xen which libvirt ]; + nativeBuildInputs = [ autoreconfHook yacc bison flex libtool autoconf automake pkgconfig ]; + + 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 = [ licenses.lgpl3 ]; + maintainers = with maintainers; [ lschuermann ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4202685e491..0bd382d6eb2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16870,6 +16870,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; };