summary refs log tree commit diff
path: root/pkgs/development/libraries/libwhereami
diff options
context:
space:
mode:
authorKranium Gikos Mendoza <kranium@gikos.net>2017-09-25 20:59:17 +1000
committerOrivej Desh <orivej@gmx.fr>2017-09-29 10:04:23 +0000
commit864f9a8df5c52120b40ca9d3a797985ec75b849a (patch)
tree86517e5a226b8aaa373f75e783e54ac331af4bbd /pkgs/development/libraries/libwhereami
parenta293bb0326d251fde6f48ffca2b4af58ccf1ff7d (diff)
downloadnixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar.gz
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar.bz2
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar.lz
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar.xz
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.tar.zst
nixpkgs-864f9a8df5c52120b40ca9d3a797985ec75b849a.zip
libwhereami: init at 0.1.1
Diffstat (limited to 'pkgs/development/libraries/libwhereami')
-rw-r--r--pkgs/development/libraries/libwhereami/default.nix28
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 00000000000..35e904989c4
--- /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;
+  };
+
+}