1 { lib, stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 sha256 = "05fc28dri2h858kxbvldk5b6wd5is3fjcdsiqj3nxf95i66bb3xp";
14 NIX_CFLAGS_COMPILE = "-Wno-error";
16 nativeBuildInputs = [ cmake ];
18 buildInputs = [ boost curl leatherman ];
21 inherit (src.meta) homepage;
22 description = "Library to report hypervisor information from inside a VM";
23 license = licenses.asl20;
24 maintainers = [ maintainers.womfoo ];
25 platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; # fails on aarch64