mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
f28182d44a
Required dependency for recent versions of libvmi. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
53 lines
1013 B
Nix
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" ];
|
|
};
|
|
}
|