diff options
author | Kranium Gikos Mendoza <kranium@gikos.net> | 2017-09-25 20:59:17 +1000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-09-29 10:04:23 +0000 |
commit | 864f9a8df5c52120b40ca9d3a797985ec75b849a (patch) | |
tree | 86517e5a226b8aaa373f75e783e54ac331af4bbd /pkgs/development/libraries | |
parent | a293bb0326d251fde6f48ffca2b4af58ccf1ff7d (diff) |
libwhereami: init at 0.1.1
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libwhereami/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix new file mode 100644 index 0000000000000..35e904989c419 --- /dev/null +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -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; + }; + +} |