mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
vmaware: init at 2.8.0 (#496568)
This commit is contained in:
40
pkgs/by-name/vm/vmaware/package.nix
Normal file
40
pkgs/by-name/vm/vmaware/package.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vmaware";
|
||||
version = "2.8.0";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kernelwernel";
|
||||
repo = "VMAware";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-KPjIk5nm27RcxGg3owfLVt+b1sL0y90IPPgeGv7fTgQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform C++ library and CLI tool for virtual machine detection";
|
||||
homepage = "https://github.com/kernelwernel/VMAware";
|
||||
changelog = "https://github.com/kernelwernel/VMAware/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ patrickdag ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "vmaware";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user