nixpkgs/pkgs/by-name/li/libkvmi/package.nix
Fernando Rodrigues f28182d44a
libkvmi: init at 1.1.0-unstable-2023-12-13
Required dependency for recent versions of libvmi.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-22 18:31:35 -03:00

53 lines
1013 B
Nix

{
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" ];
};
}