libwhereami: init at 0.1.1

This commit is contained in:
Kranium Gikos Mendoza 2017-09-25 20:59:17 +10:00 committed by Orivej Desh
parent a293bb0326
commit 864f9a8df5
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
stdenv.mkDerivation rec {
name = "libwhereami-${version}";
version = "0.1.1";
src = fetchFromGitHub {
sha256 = "0nhbmxm626cgawprszw6c03a3hasxjn1i9ldhhj5xyvxp8r5l9q4";
rev = version;
repo = "libwhereami";
owner = "puppetlabs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl leatherman ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Library to report hypervisor information from inside a VM";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}

View File

@ -9520,6 +9520,8 @@ with pkgs;
libupnp = callPackage ../development/libraries/pupnp { };
libwhereami = callPackage ../development/libraries/libwhereami { };
giflib = giflib_5_1;
giflib_4_1 = callPackage ../development/libraries/giflib/4.1.nix { };
giflib_5_0 = callPackage ../development/libraries/giflib/5.0.nix { };