Skip to content

Commit

Permalink
libkvmi: init at 1.1.0-unstable-2023-12-13
Browse files Browse the repository at this point in the history
Required dependency for recent versions of libvmi.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
  • Loading branch information
SigmaSquadron committed Aug 22, 2024
1 parent 3014c8b commit f28182d
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions pkgs/by-name/li/libkvmi/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
lib,
stdenv,
fetchFromGitHub,
unstableGitUpdater,
autoreconfHook,
autoconf-archive,
pkg-config,
glib,
libuuid,
}:

stdenv.mkDerivation {
pname = "libkvmi";
version = "1.1.0-unstable-2023-12-13";

outputs = [
"out"
"lib"
"dev"
];

src = fetchFromGitHub {
owner = "bitdefender";
repo = "libkvmi";
rev = "bc80de986bda1b891a1106badf87587bb92dbbb3";
hash = "sha256-evYRIwguaKgJ8pMhhKKkSc/65GDYnG6DoYRMSkLjowI=";
};

nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
];

buildInputs = [
glib
libuuid
];

passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };

meta = {
description = "KVM virtual machine introspection library";
homepage = "https://github.com/bitdefender/libkvmi";
license = lib.licenses.lgpl3Only;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ sigmasquadron ];
mainProgram = "hookguest-libkvmi";
outputsToInstall = [ "lib" ];
};
}

0 comments on commit f28182d

Please sign in to comment.