159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
52 lines
1,013 B
Nix
52 lines
1,013 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" ];
|
|
};
|
|
}
|